From 9ad7199f035bb69147610f7e7e28c69b0b5cf871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 12 Jan 2007 20:20:35 +0000 Subject: [PATCH] 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. --- debian/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/config b/debian/config index f563956f..facabab8 100644 --- a/debian/config +++ b/debian/config @@ -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