summaryrefslogtreecommitdiff
path: root/debian/libusrp0.postinst
diff options
context:
space:
mode:
authorMatt Ettus2009-09-30 18:59:54 -0700
committerMatt Ettus2009-09-30 18:59:54 -0700
commit4dfa2ad7deab0a89784906b377dbea271ba08118 (patch)
tree55cdaeaf2c6cce0217a7b5acd501330accc66246 /debian/libusrp0.postinst
parent1e3521c90f63e70e8ec4dc97574bc8b46366fc1e (diff)
parentc88f64ad42a8473a1749275c0e579284b20eb283 (diff)
downloadgnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.tar.gz
gnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.tar.bz2
gnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.zip
Merge branch 'master' into new_eth
Diffstat (limited to 'debian/libusrp0.postinst')
-rw-r--r--debian/libusrp0.postinst16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/libusrp0.postinst b/debian/libusrp0.postinst
new file mode 100644
index 000000000..562b9232e
--- /dev/null
+++ b/debian/libusrp0.postinst
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+# Create usrp group for udev access
+if ! getent group usrp >/dev/null; then
+ addgroup --system usrp
+fi
+
+#DEBHELPER#
+
+exit 0