summaryrefslogtreecommitdiffstats
path: root/debian/powerline.postrm
diff options
context:
space:
mode:
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