mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-21 21:17:00 +01:00
19 lines
307 B
Bash
19 lines
307 B
Bash
#!/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
|