summaryrefslogtreecommitdiffstats
path: root/debian/lenny/applications/kpowersave.cmake/debian/postrm
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-08-03 14:44:58 -0500
committerTimothy Pearson <[email protected]>2011-08-03 14:44:58 -0500
commit0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 (patch)
treec0d0d652fef20159e78fa20b2567661bd7db8e41 /debian/lenny/applications/kpowersave.cmake/debian/postrm
parent6b027437fd51e7874aaffed9e395ddf7913c3ab4 (diff)
downloadtde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.tar.gz
tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.zip
Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick
Diffstat (limited to 'debian/lenny/applications/kpowersave.cmake/debian/postrm')
-rw-r--r--debian/lenny/applications/kpowersave.cmake/debian/postrm24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/lenny/applications/kpowersave.cmake/debian/postrm b/debian/lenny/applications/kpowersave.cmake/debian/postrm
new file mode 100644
index 000000000..4e8eda799
--- /dev/null
+++ b/debian/lenny/applications/kpowersave.cmake/debian/postrm
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+set -e
+
+package_name=kpowersave-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