summaryrefslogtreecommitdiff
path: root/debian/bluetooth-firmware-bcm.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bluetooth-firmware-bcm.postinst.in')
-rw-r--r--debian/bluetooth-firmware-bcm.postinst.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/bluetooth-firmware-bcm.postinst.in b/debian/bluetooth-firmware-bcm.postinst.in
new file mode 100644
index 0000000..cb03b3c
--- /dev/null
+++ b/debian/bluetooth-firmware-bcm.postinst.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Change File Permission
+chmod 644 @PREFIX@/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
+
+# root case
+if [ ${USER} = "root" ]
+then
+ chown root:root @PREFIX@/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
+fi