mirror of
https://git.proxmox.com/git/pmg-api
synced 2025-12-28 19:02:45 +00:00
31 lines
468 B
Bash
31 lines
468 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove)
|
|
;;
|
|
|
|
upgrade|deconfigure)
|
|
;;
|
|
|
|
failed-upgrade)
|
|
;;
|
|
|
|
*)
|
|
echo "prerm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
|
|
deb-systemd-invoke stop pmgproxy.service pmgdaemon.service >/dev/null
|
|
fi
|
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
# generated by other debhelper scripts.
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|