diff options
Diffstat (limited to 'debian/itzks-systems-smartboard.postinst')
| -rwxr-xr-x | debian/itzks-systems-smartboard.postinst | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/debian/itzks-systems-smartboard.postinst b/debian/itzks-systems-smartboard.postinst index 1a7686d..e49f1d1 100755 --- a/debian/itzks-systems-smartboard.postinst +++ b/debian/itzks-systems-smartboard.postinst @@ -140,13 +140,21 @@ case "$1" in  			update-mime-database /usr/share/mime  		fi + +		# setup itzks-smartboard group +		if ! getent group itzks-smartboard 1>/dev/null 2>/dev/null; then +		    echo "Creating itzks-smartboard group." 1>&2 +		    addgroup --system itzks-smartboard +		else +		    echo "Group itzks-smartboard already exists." 1>&2 +		fi  		;;  	abort-upgrade|abort-remove|abort-deconfigure)  		;;  	*) -		echo "postinst called with unknown argument \`$1'" >&2 +		echo "postinst called with unknown argument \`$1'" 1>&2  		exit 1  		;;  esac | 
