summaryrefslogtreecommitdiffstats
path: root/dilos/tdeutils/debian/klaptopdaemon-trinity.prerm
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-03-08 02:00:55 +0100
commitbd1b537f0534b6f299c42001ddef096b60ffdef8 (patch)
tree0c5547d42183c96bd3e4582ed567e3db0f511f98 /dilos/tdeutils/debian/klaptopdaemon-trinity.prerm
parent38471bcdd80beb04d58302912f92ecae1fbdd0af (diff)
downloadtde-packaging-bd1b537f0534b6f299c42001ddef096b60ffdef8.tar.gz
tde-packaging-bd1b537f0534b6f299c42001ddef096b60ffdef8.zip
DilOS: tdeutils build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit c1251c5abd9f8eb4a0256a7a92f72aa7aa8518eb)
Diffstat (limited to 'dilos/tdeutils/debian/klaptopdaemon-trinity.prerm')
-rw-r--r--dilos/tdeutils/debian/klaptopdaemon-trinity.prerm30
1 files changed, 30 insertions, 0 deletions
diff --git a/dilos/tdeutils/debian/klaptopdaemon-trinity.prerm b/dilos/tdeutils/debian/klaptopdaemon-trinity.prerm
new file mode 100644
index 000000000..ecc9ea389
--- /dev/null
+++ b/dilos/tdeutils/debian/klaptopdaemon-trinity.prerm
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+
+ remove)
+ /usr/sbin/dpkg-statoverride --quiet --remove /usr/trinity/bin/klaptop_acpi_helper > /dev/null 2>&1 || true
+ if [ -e /usr/trinity/bin/klaptop_acpi_helper ]; then
+ chown root:root /usr/trinity/bin/klaptop_acpi_helper
+ chmod 0755 /usr/trinity/bin/klaptop_acpi_helper
+ fi
+ ;;
+
+ upgrade|deconfigure)
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0