diff options
Diffstat (limited to 'debian/shopsystem.postinst')
-rw-r--r-- | debian/shopsystem.postinst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/shopsystem.postinst b/debian/shopsystem.postinst new file mode 100644 index 0000000..1238405 --- /dev/null +++ b/debian/shopsystem.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# source debconf stuff +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +if [ -f /usr/share/dbconfig-common/dpkg/postinst ]; then + . /usr/share/dbconfig-common/dpkg/postinst + dbc_dbfile_owner="shop:shop" + dbc_go shopsystem "$@" +fi + +adduser shop audio + +exit 0 |