From bdd2401b747cd581a72d2c24a08af8b0f94f4f37 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Wed, 16 Oct 2013 10:34:48 -0400 Subject: [PATCH] Always start with a fresh install script --- src-sh/pc-installdialog/pc-installdialog.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src-sh/pc-installdialog/pc-installdialog.sh b/src-sh/pc-installdialog/pc-installdialog.sh index dd31133b3..228c2cad2 100755 --- a/src-sh/pc-installdialog/pc-installdialog.sh +++ b/src-sh/pc-installdialog/pc-installdialog.sh @@ -302,11 +302,13 @@ start_menu_loop() } + + if [ ! -e "$CFGFILE" ] ; then - start_full_wizard - start_menu_loop -else - start_menu_loop + cp ${CFGFILE} ${CFGFILE}.bak + rm ${CFGFILE} fi +start_menu_loop + exit 0