* first deb-installer workflow for PVE-mods --------- Co-authored-by: Meliox <na> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
19 lines
323 B
Bash
19 lines
323 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove)
|
|
# Remove apt hook if it was installed via pve-mod-configure.
|
|
rm -f /etc/apt/apt.conf.d/99-pve-mod
|
|
;;
|
|
|
|
purge)
|
|
rm -f /etc/apt/apt.conf.d/99-pve-mod
|
|
rm -rf /etc/pve-mod
|
|
rm -rf /var/lib/pve-mod
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
exit 0
|