File: postrm

package info (click to toggle)
modutils 2.4.26-1.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,724 kB
  • ctags: 1,708
  • sloc: ansic: 16,932; sh: 2,998; makefile: 549; lex: 490; yacc: 375
file content (15 lines) | stat: -rw-r--r-- 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# post remove script for the Debian GNU/Linux modutils package

set -e

if [ "$1" = "purge" ]; then
	rm -f /etc/modules.conf
	# this file is used by module-init-tools too
	if [ ! -d /etc/modprobe.d ]; then
		rm -f /etc/modules
	fi
fi

exit 0