File: postinst

package info (click to toggle)
xtide-data 20040203-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,764 kB
  • ctags: 1
  • sloc: makefile: 31; perl: 30; sh: 9
file content (13 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if [ -x "/etc/init.d/xttpd" ]; then
    if which invoke-rc.d >/dev/null 2>&1; then
        invoke-rc.d xttpd restart
    else
        if test -f /etc/init.d/xttpd; then
            /etc/init.d/xttpd restart
        fi
    fi  
fi

#DEBHELPER#