X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fconfig;fp=debian%2Fconfig;h=65744860c126031cad65bd3e6aeb5f2a0b500f2c;hb=4e93316a1006dec0523ce2e169a6c31b78808d57;hp=e4301733cf002847b3e80e141cacb80e81a23e78;hpb=c55399d12b8affa2cc755f4904415bede2f35f4c;p=apache2-cn.git diff --git a/debian/config b/debian/config index e430173..6574486 100755 --- a/debian/config +++ b/debian/config @@ -5,6 +5,19 @@ set -e # Load debconf . /usr/share/debconf/confmodule +if [ "$1" != reconfigure ]; then + + apache2_done=1 + + db_fget apache2-cn/wwwhost seen + if [ "$RET" != "true" ]; then + apache2_done=0 + fi + + test $apache2_done -eq 1 && exit 0 +fi + + CONFDIR="/etc/apache2" CONF="$CONFDIR/apache2.conf" HOST=$(hostname)