[fix] debconf: don't fail when noninteractive frontend is used
This commit is contained in:
parent
bb26c2f13c
commit
c05f1bddd2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue