We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666b5c9 commit 1a0bffdCopy full SHA for 1a0bffd
debian/aptly-api.postrm
@@ -0,0 +1,24 @@
1
+#!/bin/sh
2
+
3
+set -e
4
5
+# source debconf library
6
+. /usr/share/debconf/confmodule
7
8
+case "$1" in
9
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
10
+ # only remove aptly-api user and its homedir on purge
11
+ if [ "${1}" = "purge" ] ; then
12
+ userdel -r aptly-api
13
+ fi
14
+ ;;
15
16
+ *)
17
+ echo "postrm called with unknown argument \`$1'" >&2
18
+ exit 1
19
20
+esac
21
22
+#DEBHELPER#
23
24
+exit 0
0 commit comments