summaryrefslogtreecommitdiff
path: root/scripts/debian/postrm.ex
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-07 09:53:29 +0800
committerruki <[email protected]>2017-04-07 09:53:29 +0800
commit3085ff44c910916e6378982f14a9bbf2bcbe50ac (patch)
tree44df0acc22951703b8ee9ff2861bbd14ac95bcbb /scripts/debian/postrm.ex
parent9f65a2f1b69d54a4d15d135f4b3058a989a57429 (diff)
add makeppa script and debian
Diffstat (limited to 'scripts/debian/postrm.ex')
-rw-r--r--scripts/debian/postrm.ex37
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/debian/postrm.ex b/scripts/debian/postrm.ex
new file mode 100644
index 000000000..f8e19bae9
--- /dev/null
+++ b/scripts/debian/postrm.ex
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postrm script for xmake
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see https://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0