From fea823f105a8fa27d8f18dc090b67c6bdc935920 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 3 Mar 2015 06:17:42 +0100 Subject: 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. --- debian/itzks-systems-smartboard.postrm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 debian/itzks-systems-smartboard.postrm (limited to 'debian/itzks-systems-smartboard.postrm') 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: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# 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# -- cgit v1.2.3