diff --git a/debian/alternc.config b/debian/alternc.config index 93b6804f..3a02b707 100644 --- a/debian/alternc.config +++ b/debian/alternc.config @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/bash set -e @@ -219,18 +219,15 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 11 ]; do fi test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true - quota -gA -f $MOUNT_POINT 2>/dev/null - - - if [ $? -ne 0 ]; then + quota -gA -f $MOUNT_POINT 2>/dev/null || ( db_get alternc/quotauninstalled if [ -z "$RET" ]; then - db_input critical alternc/quotauninstalled || true - db_go + db_input critical alternc/quotauninstalled || true + db_go #db_reset alternc/quotauninstalled || true - db_set alternc/quotauninstalled "false" || true + db_set alternc/quotauninstalled "false" || true fi - fi + ) ;; esac if db_go; then diff --git a/debian/alternc.postinst b/debian/alternc.postinst index a2e67e01..4926aa5f 100644 --- a/debian/alternc.postinst +++ b/debian/alternc.postinst @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash set -e diff --git a/debian/alternc.preinst b/debian/alternc.preinst index 437ed092..c77935e4 100644 --- a/debian/alternc.preinst +++ b/debian/alternc.preinst @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash set -e diff --git a/debian/changelog b/debian/changelog index 6b7526bc..7d7f6cec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -26,7 +26,10 @@ alternc (3.0.2) stable; urgency=low * [4204] Don't log "manual launch of update_domain" if we don't do it... * [4222] Bugfix directory's download - -- Axel Roger Thu, 18 Apr 2013 16:34:15 +0200 + [ Benjamin ] + * Fixing a crash in .config script if / mountpoint does not exist (typically on vserver/LXC/chroots) + + -- Benjamin Sonntag Thu, 19 Apr 2013 14:06:00 +0200 alternc (3.0.1) stable; urgency=low