File: perdition.preinst

package info (click to toggle)
perdition 1.17-7
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 3,136 kB
  • ctags: 1,062
  • sloc: ansic: 10,877; sh: 8,769; makefile: 462; perl: 132
file content (15 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

#DEBHELPER#

set -e

dpkg --assert-support-predepends
        
if [ "$1" = "upgrade" -a -f /etc/init.d/perdition ]; then
    if [ -f /etc/init.d/perdition ]; then
        invoke-rc.d perdition stop
    fi
fi      
        
exit 0