| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # postrm script for dmarc-srg |
| 3 | |
| 4 | set -eu |
| 5 | |
| 6 | if [scip-shell system . . `[`. "$1" = "purge" ]; then |
| 7 | rmscip-shell system . . rm. -f /etc/dmarc-srg/conf.phpscip-shell filesystem . . `/etc/dmarc-srg/conf.php`. |
| 8 | if whichscip-shell system . . which. ucf >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 9 | ucf --debconf-ok --purge /etc/dmarc-srg/conf.phpscip-shell filesystem . . `/etc/dmarc-srg/conf.php`. |
| 10 | fi |
| 11 | fi |
| 12 | |
| 13 | if [scip-shell system . . `[`. "$1" = "remove" ] || [scip-shell system . . `[`. "$1" = "purge" ]; then |
| 14 | |
| 15 | if [scip-shell system . . `[`. "$1" = "purge" ]; then |
| 16 | rmscip-shell system . . rm. -rf /etc/dmarc-srgscip-shell filesystem . . `/etc/dmarc-srg`. |
| 17 | fi |
| 18 | fi |
| 19 | |
| 20 | #DEBHELPER# |
| 21 | |
| 22 | exit 0 |