mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
properly purge remaining config files on purge
This commit is contained in:

committed by
Charles Herlin

parent
2b2a91a564
commit
fc88194eca
18
debian/postrm
vendored
Normal file
18
debian/postrm
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
|
||||
purge)
|
||||
rm -f /opt/cis-hardening/etc/conf.d/*.cfg
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
# nothing to do
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0 called with unknown argument \`$1\`'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user