[fix] debconf: don't fail when noninteractive frontend is used

This commit is contained in:
Pierre-Louis Bonicoli 2014-03-26 02:21:08 +01:00
parent bb26c2f13c
commit c05f1bddd2
1 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 14 ]; do
db_get alternc/alternc_html
if [ -z "$RET" ]; then
db_set alternc/alternc_html $ALTERNC_HTML
db_input high alternc/alternc_html
db_input high alternc/alternc_html || true
fi
db_get alternc/alternc_html
@ -266,14 +266,14 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 14 ]; do
db_get alternc/alternc_mail
if [ -z "$RET" ]; then
db_set alternc/alternc_mail $ALTERNC_MAIL
db_input high alternc/alternc_mail
db_input high alternc/alternc_mail || true
fi
;;
13)
db_get alternc/alternc_logs
if [ -z "$RET" ];then
db_set alternc/alternc_logs $ALTERNC_LOGS
db_input high alternc/alternc_logs
db_input high alternc/alternc_logs || true
fi
;;
esac