18 lines
318 B
Bash
18 lines
318 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Source debconf library.
|
|
. /usr/share/debconf/confmodule
|
|
|
|
if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
|
|
. /usr/share/dbconfig-common/dpkg/config.mysql
|
|
dbc_go gallery3 $@
|
|
fi
|
|
|
|
db_version 2.0 || [ 0 -lt 30 ]
|
|
|
|
db_input high gallery3/webserver_type || true
|
|
|
|
db_go || true
|