File: libapache-mod-ngobjweb.prerm

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 (16 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

for i in apache apache-perl apache-ssl; do
    if [ -e /etc/$i/httpd.conf ]; then
        modules-config $i disable mod_ngobjweb quiet
    fi
    if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/$i ]; then
        invoke-rc.d $i force-reload || true
    elif [ -x /etc/init.d/$i ]; then
        /etc/init.d/$i force-reload || true
    fi
done

#DEBHELPER#