From 56ed1943ca58af2895a6b86c67566b5650f3ab53 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sat, 6 May 2023 02:04:37 -0700 Subject: [PATCH] set dry_run and update flags to unset after run to avoid conflicts with extra installs --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 5e9f715..d24b748 100755 --- a/install.sh +++ b/install.sh @@ -560,15 +560,19 @@ case $1 in install-deps && success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dependencies installed!" ;; -D | --dry-run) - dry_run=true + export dry_run=true + box-light + boxtop install + boxbottom dry-run-report usage + unset dry_run success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dry-Run Complete!" ;; -u | --update) - update_run=true - update && success " [${red}P${lrd}R${ylw}b${ong}L ${lyl}Updated${dfl}]" + export update_run=true + update && unset update_run && success " [${red}P${lrd}R${ylw}b${ong}L ${lyl}Updated${dfl}]" ;; -f | --force) remove-arbitrary