File: postrm

package info (click to toggle)
apache 1.3.3-7
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,508 kB
  • ctags: 6,595
  • sloc: ansic: 50,060; sh: 3,776; perl: 1,354; makefile: 234; cpp: 55
file content (13 lines) | stat: -rw-r--r-- 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e
if [ "$1" = "purge" ]
then
    update-rc.d apache remove >/dev/null
    rm -rf /var/lib/apache
    rm -rf /var/log/apache
    rm -rf /var/run/apache
    rm -rf /var/run/apache_runtime_status
    rm -rf /var/run/apache.status
    rm -rf /var/run/apache.scoreboard
    rm -rf /etc/apache
fi
exit 0