diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-07-14 19:33:03 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-07-18 01:27:02 +0200 |
commit | f77ef3ceb3b828724a60c4838b3524e8f7c5115b (patch) | |
tree | ebbf42206415464a39d77234263c4ea128524056 /debian/shopsystem.config | |
parent | 568c2be3c328a272f7a872c3fc67b61af3c4e797 (diff) | |
download | serial-barcode-scanner-f77ef3ceb3b828724a60c4838b3524e8f7c5115b.tar.bz2 |
Debian packaging
Diffstat (limited to 'debian/shopsystem.config')
-rw-r--r-- | debian/shopsystem.config | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/shopsystem.config b/debian/shopsystem.config new file mode 100644 index 0000000..53aeb36 --- /dev/null +++ b/debian/shopsystem.config @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +if [ -f /usr/share/dbconfig-common/dpkg/config ]; then + dbc_dbtypes="sqlite3" + dbc_basepath="/var/lib/shopsystem" + dbc_dbname="shopsystem.db" + . /usr/share/dbconfig-common/dpkg/config + dbc_go shopsystem $@ +fi + +exit 0 |