File: fam.preinst

package info (click to toggle)
fam 2.7.0-17.2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 504 kB
  • ctags: 11
  • sloc: sh: 43; makefile: 21
file content (14 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "upgrade" ]
then
    # remove old inetd.conf entries and disable current ones
    if [ -x "/usr/sbin/update-inetd" ]; then
	update-inetd --remove "^391002/1-2.*"
	update-inetd --disable "^sgi_fam/1-2.*"
    fi
fi

#DEBHELPER#