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 01:58:20 +0100
commitc1251c5abd9f8eb4a0256a7a92f72aa7aa8518eb (patch)
treeb33c2a6a7020f677cb58899884cb349bfe223ad0 /dilos/tdeutils/debian/klaptopdaemon-trinity.prerm
parent152db2820bbff10ccebcb24ed940cb051ba8ecf6 (diff)
downloadtde-packaging-c1251c5abd9f8eb4a0256a7a92f72aa7aa8518eb.tar.gz
tde-packaging-c1251c5abd9f8eb4a0256a7a92f72aa7aa8518eb.zip
DilOS: tdeutils build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org>
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