File: am-utils.prerm

package info (click to toggle)
am-utils 6.1.5-12
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,004 kB
  • ctags: 8,779
  • sloc: ansic: 39,266; sh: 10,560; perl: 2,429; makefile: 875; lex: 466; yacc: 349
file content (11 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -eu

if [ "$1" != "upgrade" ]; then
    # if not upgrading, just stop it.
    # The upgrade process will take care of the stopping and restarting.
    invoke-rc.d am-utils stop || :
fi

#DEBHELPER#

exit 0