File: preinst

package info (click to toggle)
sysklogd 1.3-26
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 376 kB
  • ctags: 261
  • sloc: ansic: 3,532; makefile: 133; sh: 125; perl: 66
file content (13 lines) | stat: -rw-r--r-- 196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

dpkg --assert-support-predepends

if [ "$1" = "upgrade" -a -f /etc/init.d/sysklogd ]; then
  if [ -x /etc/init.d/sysklogd ]; then
    /etc/init.d/sysklogd stop
  fi
fi

exit 0