summaryrefslogtreecommitdiffstats
path: root/debian/powerline.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:04:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:04:07 +0000
commita45ec9c2d262ff7cd62540f63298aeb186648aae (patch)
treea4bd93ea6b568b1da1930425a6bb2fb877dbdbe7 /debian/powerline.postrm
parentAdding upstream version 2.7. (diff)
downloadpowerline-fedafa1108650618aa129bfa0a5e9f1dc5d99cb0.tar.xz
powerline-fedafa1108650618aa129bfa0a5e9f1dc5d99cb0.zip
Adding debian version 2.7-2.debian/2.7-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/powerline.postrm')
-rw-r--r--debian/powerline.postrm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/powerline.postrm b/debian/powerline.postrm
new file mode 100644
index 0000000..f6580c6
--- /dev/null
+++ b/debian/powerline.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ purge)
+ rm -f /etc/profile.d/zz-powerline.sh
+ rmdir /etc/powerline > /dev/null 2>&1 || true
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0