only reset the welcomeconfirm prompt if it gets refused so it shows up only once, on first install. See #737. This prompt should simply go away at some point, or we could modify it to tell the admin where the backups are.
This commit is contained in:
parent
8cccd4f7bd
commit
9ad7199f03
|
@ -6,9 +6,6 @@ set -e
|
|||
. /usr/share/debconf/confmodule
|
||||
db_title AlternC
|
||||
|
||||
# reset the welcomeconfirm flag
|
||||
db_reset alternc/welcomeconfirm || true
|
||||
db_fset alternc/welcomeconfirm "seen" "false" || true
|
||||
db_input critical alternc/welcomeconfirm || true
|
||||
|
||||
db_go
|
||||
|
@ -16,6 +13,9 @@ db_go
|
|||
db_get alternc/welcomeconfirm || true
|
||||
|
||||
if [ "$RET" = "false" ]; then
|
||||
# reset the welcomeconfirm flag if user refuses so it gets asked again next time
|
||||
db_reset alternc/welcomeconfirm || true
|
||||
db_fset alternc/welcomeconfirm "seen" "false" || true
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue