Commit 3128c6bd authored by Benjamin Sonntag's avatar Benjamin Sonntag

fixing an install-time crash on LXC

parent bd85c553
#! /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
......
#!/bin/bash
#!/bin/bash
set -e
......
#!/bin/bash
#!/bin/bash
set -e
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment