summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-smartboard.postrm
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-03-03 06:17:42 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-03-03 06:17:42 +0100
commitfea823f105a8fa27d8f18dc090b67c6bdc935920 (patch)
tree2c406946d99c418b242dab88aed8718ec4885f81 /debian/itzks-systems-smartboard.postrm
parentb7541d4b9b5584c72040f5ea04348ec5eddf986d (diff)
downloaditzks-systems-fea823f105a8fa27d8f18dc090b67c6bdc935920.tar.gz
itzks-systems-fea823f105a8fa27d8f18dc090b67c6bdc935920.tar.bz2
itzks-systems-fea823f105a8fa27d8f18dc090b67c6bdc935920.zip
itzks-systems-smartboard: Provide itzks-smartboard system group so that we are able to grant smartboard access to local users without having to put them into the sudo group.
Diffstat (limited to 'debian/itzks-systems-smartboard.postrm')
-rwxr-xr-xdebian/itzks-systems-smartboard.postrm34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/itzks-systems-smartboard.postrm b/debian/itzks-systems-smartboard.postrm
new file mode 100755
index 0000000..46a110f
--- /dev/null
+++ b/debian/itzks-systems-smartboard.postrm
@@ -0,0 +1,34 @@
+#! /bin/sh
+# postrm script for itzks-systems-smartboard
+#
+# see: dh_installdeb(1)
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+set -e
+
+case "$1" in
+ purge)
+ getent group itzks-smartboard 1>/dev/null 2>/dev/null && delgroup itzks-smartboard
+
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" 1>&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#