blob: d7abaa7ed5c0116789b77bd6554d4c490746f222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
NAME=bcm5974
VERSION=1.1.7
set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
moddir="/lib/modules/`uname -r`/kernel/"
depmod
if [ -d "/usr/src/$NAME-$VERSION" ]; then
echo "Removing old module source..."
rm -rf "/usr/src/$NAME-$VERSION"
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
|