diff --git a/debian/alternc.config b/debian/alternc.config index 00be1268..a0495796 100644 --- a/debian/alternc.config +++ b/debian/alternc.config @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash -x set -e @@ -16,7 +16,7 @@ if [ "$RET" = "false" ]; then # reset the welcomeconfirm flag if user refuses so it gets asked again next time db_reset alternc/welcomeconfirm || true db_fset alternc/welcomeconfirm "seen" "false" || true - exit 1 + exit 3 fi # default values for local.sh @@ -140,7 +140,7 @@ check_mysql(){ db_go db_get alternc/remote_mysql_error || true if [ "$RET" = "false" ]; then - exit 1 + exit 4 fi fi done @@ -193,7 +193,7 @@ if [ -z "$ACL" ]; then db_title AlternC db_reset alternc/acluninstalled || true db_fset alternc/acluninstalled "seen" "false" || true - exit 1 + exit 2 fi quota_activation=$(quotaon -pa 2>/dev/null |grep '^group.*on$' | /usr/bin/awk '$4 ~ /^\'$MOUNT_POINT'$/ {print $4}') diff --git a/debian/alternc.postinst b/debian/alternc.postinst index 060d7243..913b9484 100644 --- a/debian/alternc.postinst +++ b/debian/alternc.postinst @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -x set -e diff --git a/debian/alternc.postrm b/debian/alternc.postrm index d1a766dd..3a16d7dc 100644 --- a/debian/alternc.postrm +++ b/debian/alternc.postrm @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash -x set -e diff --git a/debian/alternc.preinst b/debian/alternc.preinst index d75fef2b..9b69b66c 100644 --- a/debian/alternc.preinst +++ b/debian/alternc.preinst @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -x set -e diff --git a/debian/alternc.prerm b/debian/alternc.prerm index 0e424e67..c55bd453 100644 --- a/debian/alternc.prerm +++ b/debian/alternc.prerm @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/bash -e -x # Debian alternc prerm # Benjamin Sonntag diff --git a/debian/control b/debian/control index 89f84c50..09be5890 100644 --- a/debian/control +++ b/debian/control @@ -9,8 +9,8 @@ Standards-Version: 3.9.1 Package: alternc Architecture: all -Pre-depends: debconf (>= 0.5.00) | debconf-2.0 -Depends: debianutils (>= 1.13.1), apache2-mpm-itk, libapache2-mod-php5, php5-mysql, phpmyadmin, postfix, proftpd-mod-mysql, proftpd-basic, bind9, wget, rsync, ca-certificates, locales, perl-suid | perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php5-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), sudo, adduser, mysql-client, dnsutils, bash (>= 4), acl, dovecot-imapd (>= 1:1.2.15), dovecot-pop3d (>= 1:1.2.15), vlogger, mailx +Pre-depends: debconf (>= 0.5.00) | debconf-2.0, bash (>= 4) +Depends: debianutils (>= 1.13.1), apache2-mpm-itk, libapache2-mod-php5, php5-mysql, phpmyadmin, postfix, proftpd-mod-mysql, proftpd-basic, bind9, wget, rsync, ca-certificates, locales, perl-suid | perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php5-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), sudo, adduser, mysql-client, dnsutils, acl, dovecot-imapd (>= 1:1.2.15), dovecot-pop3d (>= 1:1.2.15), vlogger, mailx Recommends: mysql-server(>= 5.0), ntp, quota Conflicts: alternc-admintools, alternc-awstats (< 1.0), alternc-webalizer (<= 0.9.4), alternc-mailman (< 2.0) Provides: alternc-admintools