File: postrm

package info (click to toggle)
setserial 2.17-16
  • links: PTS
  • area: main
  • in suites: potato
  • size: 340 kB
  • ctags: 190
  • sloc: sh: 2,014; ansic: 993; makefile: 118; csh: 2
file content (13 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

if [ purge = "$1" ]; then
  update-rc.d setserial remove >/dev/null
fi

if test -x /sbin/update-modules ; then
  if ! /sbin/update-modules >/dev/null ; then
    echo "You have update-modules, but it reported an error...continuing" >&2
  fi
fi

#DEBHELPER#