fixing an install-time crash on LXC

This commit is contained in:
Benjamin Sonntag 2013-04-19 12:07:17 +00:00
parent bd85c55393
commit 3128c6bd45
4 changed files with 12 additions and 12 deletions

15
debian/alternc.config vendored
View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -e

5
debian/changelog vendored
View File

@ -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 <axel@nnx.com> 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 <benjamin@sonntag.fr> Thu, 19 Apr 2013 14:06:00 +0200
alternc (3.0.1) stable; urgency=low