File: bandwidthd-pgsql.postinst

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20071208-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,004 kB
  • ctags: 551
  • sloc: sh: 13,336; ansic: 2,653; php: 1,219; yacc: 216; makefile: 146; lex: 36; sql: 27
file content (32 lines) | stat: -rw-r--r-- 612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

set -e

if [ "$BANDWIDTHD_PACKAGE_DEBUG" != "" ]; then
	echo "bandwidthd-pgsql.postinst: $*"
	set -x
fi

# Source debconf library.
. /usr/share/debconf/confmodule

# Source dbconfig-common library.
. /usr/share/dbconfig-common/dpkg/postinst.pgsql

dbc_first_version="2.0.1+cvs20050208-12"

dbc_generate_include=php:/etc/bandwidthd/debian-db.php
dbc_generate_include_owner="www-data:www-data"
dbc_generate_include_perms="660"
dbc_dbfile_owner="www-data:www-data"
dbc_dbfile_perms="0660"

dbc_go bandwidthd-pgsql $@

# debhelper autoinserted stuff:

#DEBHELPER#


# Stop debhelper, we are done.
db_stop