[fix] debconf: use error instead of note (#1524)

When encountered, errors are always showed.
This commit is contained in:
Pierre-Louis Bonicoli 2014-03-26 02:58:15 +01:00
parent ca8cd30437
commit a7d1a5c3d8
2 changed files with 6 additions and 5 deletions

View File

@ -248,10 +248,8 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 14 ]; do
touch "$aclcheckfile" touch "$aclcheckfile"
setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null || ( setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null || (
test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true
db_input critical alternc/acluninstalled || true db_input high alternc/acluninstalled || true
db_go db_go || true
db_reset alternc/acluninstalled || true
db_fset alternc/acluninstalled "seen" "false" || true
exit 2 exit 2
) )
test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true

View File

@ -1,11 +1,14 @@
Template: alternc/acluninstalled Template: alternc/acluninstalled
Type: note Type: error
_Description: AlternC need ACL on filesystem _Description: AlternC need ACL on filesystem
AlternC can't work without ACL activated on its filesystem. AlternC can't work without ACL activated on its filesystem.
ACL are currently not enabled. ACL are currently not enabled.
. .
Also, you need to activate group quota (grpquota) Also, you need to activate group quota (grpquota)
to be able to use disk quota (but that's not mandatory). to be able to use disk quota (but that's not mandatory).
.
This is a fatal error and will cause the package installation
to fail.
Template: alternc/quotauninstalled Template: alternc/quotauninstalled
Type: note Type: note