summaryrefslogtreecommitdiffstats
path: root/debian/powerline.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
commit6dc7255b85d1c1bb1b66b94c55a91f21905eef08 (patch)
tree09a26e75b022344fa64251c7973cccfffe8f174d /debian/powerline.postrm
parentAdding upstream version 2.8.1. (diff)
downloadpowerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.tar.xz
powerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.zip
Adding debian version 2.8.1-4.debian/2.8.1-4debian
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