summaryrefslogtreecommitdiffstats
path: root/debian/virtualbox.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/virtualbox.postrm16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/virtualbox.postrm b/debian/virtualbox.postrm
new file mode 100644
index 00000000..581aad05
--- /dev/null
+++ b/debian/virtualbox.postrm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+#case "$1" in
+# remove|purge)
+# # Remove usb device tree
+# rm -rf /dev/vboxusb
+# ;;
+#esac
+
+if [ "$1" = "purge" ]; then
+ delgroup --quiet vboxusers || true
+fi