summaryrefslogtreecommitdiffstats
path: root/debian/wireless-regdb.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wireless-regdb.prerm')
-rw-r--r--debian/wireless-regdb.prerm10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/wireless-regdb.prerm b/debian/wireless-regdb.prerm
new file mode 100644
index 0000000..9e2e5bb
--- /dev/null
+++ b/debian/wireless-regdb.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --remove regulatory.db /lib/firmware/regulatory.db-debian
+ update-alternatives --remove regulatory.db /lib/firmware/regulatory.db-upstream
+fi
+
+#DEBHELPER#