X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=debian%2FOLD%2Fconfig;fp=debian%2FOLD%2Fconfig;h=4ffa236f3dab33673eeeb7a5ef45153d14cedd6e;hp=0000000000000000000000000000000000000000;hb=154b0303d425ad2d670dd3ae74fd78d1bbff7f14;hpb=b808053966fd3c43edefa1b7c4b93cbeb7cf546e diff --git a/debian/OLD/config b/debian/OLD/config new file mode 100644 index 000000000..4ffa236f3 --- /dev/null +++ b/debian/OLD/config @@ -0,0 +1,19 @@ +#!/bin/sh +# config script for freeside + +set -e + +# source debconf stuff +. /usr/share/debconf/confmodule + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config ]; then + # we support mysql and pgsql + dbc_dbtypes="pgsql, mysql" + + # source dbconfig-common stuff + . /usr/share/dbconfig-common/dpkg/config + dbc_go freeside $@ +fi + +# ... rest of your code ...