From f77ef3ceb3b828724a60c4838b3524e8f7c5115b Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sat, 14 Jul 2018 19:33:03 +0200 Subject: Debian packaging --- debian/shopsystem.config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/shopsystem.config (limited to 'debian/shopsystem.config') 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 -- cgit v1.2.3