[enh] Remove redundant debconf commands

This commit is contained in:
Pierre-Louis Bonicoli 2014-03-25 18:44:16 +01:00
parent cfa27b2b56
commit 58603c0e40
1 changed files with 0 additions and 20 deletions

20
debian/alternc.config vendored
View File

@ -300,31 +300,11 @@ if [ -r /etc/alternc/my_mail.cnf ]; then
eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_MAIL_USER/;s/password/MYSQL_MAIL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my_mail.cnf`
fi
db_get alternc/hostingname
if [ -z "$RET" ]
then
db_set alternc/hostingname "$HOSTING"
fi
db_get alternc/desktopname
if [ -z "$RET" ]
then
db_set alternc/desktopname "$FQDN"
fi
db_get alternc/monitor_ip
if [ -z "$RET" ]; then
db_set alternc/monitor_ip "$MONITOR_IP"
fi
db_get alternc/ns2
if [ -z "$RET" ]
then
db_set alternc/ns2 "$NS2_HOSTNAME"
fi
db_get alternc/default_mx2
if [ -z "$RET" ]; then
db_set alternc/default_mx2 "$DEFAULT_SECONDARY_MX"