File: libapache-mod-ngobjweb.postrm

package info (click to toggle)
sope 5.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,588 kB
  • sloc: objc: 169,223; sh: 3,823; ansic: 3,409; javascript: 446; python: 318; makefile: 185
file content (19 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

case "$1" in
    purge)
        for i in apache apache-perl apache-ssl; do
            rm -f /etc/$i/conf.d/mod_ngobjweb
            for ext in  .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist;  do
                rm -f /etc/$i/conf.d/mod_ngobjweb$ext
            done
            ucf --purge /etc/$i/conf.d/mod_ngobjweb
        done
        ;;
    *)
        ;;
esac

#DEBHELPER#