summaryrefslogtreecommitdiff
path: root/debian/config
blob: 4ffa236f3dab33673eeeb7a5ef45153d14cedd6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ...