]>
Commit | Line | Data |
---|---|---|
0854fb22 DM |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | case "$1" in | |
ebe7f62b | 6 | remove) |
ebe7f62b DM |
7 | ;; |
8 | ||
9 | upgrade|deconfigure) | |
0854fb22 DM |
10 | ;; |
11 | ||
12 | failed-upgrade) | |
13 | ;; | |
14 | ||
15 | *) | |
16 | echo "prerm called with unknown argument \`$1'" >&2 | |
17 | exit 1 | |
18 | ;; | |
19 | esac | |
20 | ||
2305fb86 DM |
21 | if [ -d /run/systemd/system ] && [ "$1" = remove ]; then |
22 | deb-systemd-invoke stop pmgproxy.service pmgdaemon.service >/dev/null | |
23 | fi | |
24 | ||
0854fb22 DM |
25 | # dh_installdeb will replace this with shell code automatically |
26 | # generated by other debhelper scripts. | |
27 | ||
28 | #DEBHELPER# | |
29 | ||
30 | exit 0 |