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:
Antoine Beaupré 2007-01-12 20:20:35 +00:00
parent 8cccd4f7bd
commit 9ad7199f03
1 changed files with 3 additions and 3 deletions

6
debian/config vendored
View File

@ -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