File: postrm

package info (click to toggle)
modutils 2.1.85-11
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,020 kB
  • ctags: 1,024
  • sloc: ansic: 9,324; sh: 2,180; lex: 484; yacc: 362; makefile: 309
file content (13 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# post remove script for the Debian GNU/Linux modutils package

set -e

if [ $1 = "purge" ]
then
  update-rc.d kerneld remove >/dev/null
  rm -f /etc/conf.modules
fi

if test -x /usr/bin/update-menus; then update-menus; fi