projects
/
b43-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fwcutter: Import the debian build scripts
[b43-tools.git]
/
fwcutter
/
debian
/
firmware-b43legacy-installer.postrm
diff --git a/fwcutter/debian/firmware-b43legacy-installer.postrm
b/fwcutter/debian/firmware-b43legacy-installer.postrm
new file mode 100644
(file)
index 0000000..
5058a30
--- /dev/null
+++ b/
fwcutter/debian/firmware-b43legacy-installer.postrm
@@ -0,0
+1,15
@@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ] || [ "$1" = remove ]; then
+
+ if [ -d /lib/firmware/b43legacy ]; then
+ echo "Deleting old extracted firmware..."
+ rm -rf /lib/firmware/b43legacy/*
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0