summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/tdepowersave/debian/postrm
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-07-09 19:35:47 +0200
committerFrançois Andriot <[email protected]>2013-07-09 19:35:47 +0200
commit115fcbcf68d08da74b0dc09687d3f7e30ee1acda (patch)
tree6398a621f09e14be01066cca15a2524ebe456012 /ubuntu/precise/applications/tdepowersave/debian/postrm
parentdb132274da2cf5fe9fe2e04da717b0262589890e (diff)
parent04f025195612d685fa41b8614d3d650c518e907f (diff)
downloadtde-packaging-115fcbcf68d08da74b0dc09687d3f7e30ee1acda.tar.gz
tde-packaging-115fcbcf68d08da74b0dc09687d3f7e30ee1acda.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/precise/applications/tdepowersave/debian/postrm')
-rw-r--r--ubuntu/precise/applications/tdepowersave/debian/postrm24
1 files changed, 24 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/tdepowersave/debian/postrm b/ubuntu/precise/applications/tdepowersave/debian/postrm
new file mode 100644
index 000000000..c373aa20d
--- /dev/null
+++ b/ubuntu/precise/applications/tdepowersave/debian/postrm
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+set -e
+
+package_name=tdepowersave-trinity
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+case "$1" in
+ remove)
+ dpkg-divert --package $package_name --rename --remove /etc/acpi/powerbtn.sh
+ ;;
+ purge)
+ ;;
+ upgrade)
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+exit 0