File: postrm

package info (click to toggle)
alsadriver 0.2.0-pre8-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,808 kB
  • ctags: 6,550
  • sloc: ansic: 43,490; sh: 916; makefile: 759; perl: 54
file content (19 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

if [ $1 = "purge " ]; then
	echo "Purging configuration files.."
		
	if [ -f /etc/modutils/alsa ]; then
		rm -f /etc/modutils/alsa
		update-modules
	fi

	if [ -d /etc/sound ]; then
		rm -rf /etc/sound
	fi

	rm -f /etc/init.d/alsa /etc/modutils/alsa
	update-rc.d alsa remove
fi

#DEBHELPER#