set dry_run and update flags to unset after run to avoid conflicts with
extra installs
This commit is contained in:
parent
d934049e45
commit
56ed1943ca
1 changed files with 7 additions and 3 deletions
10
install.sh
10
install.sh
|
|
@ -560,15 +560,19 @@ case $1 in
|
||||||
install-deps && success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dependencies installed!"
|
install-deps && success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dependencies installed!"
|
||||||
;;
|
;;
|
||||||
-D | --dry-run)
|
-D | --dry-run)
|
||||||
dry_run=true
|
export dry_run=true
|
||||||
|
box-light
|
||||||
|
boxtop
|
||||||
install
|
install
|
||||||
|
boxbottom
|
||||||
dry-run-report
|
dry-run-report
|
||||||
usage
|
usage
|
||||||
|
unset dry_run
|
||||||
success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dry-Run Complete!"
|
success "${red}P${lrd}R${ylw}b${ong}L${dfl} Dry-Run Complete!"
|
||||||
;;
|
;;
|
||||||
-u | --update)
|
-u | --update)
|
||||||
update_run=true
|
export update_run=true
|
||||||
update && success " [${red}P${lrd}R${ylw}b${ong}L ${lyl}Updated${dfl}]"
|
update && unset update_run && success " [${red}P${lrd}R${ylw}b${ong}L ${lyl}Updated${dfl}]"
|
||||||
;;
|
;;
|
||||||
-f | --force)
|
-f | --force)
|
||||||
remove-arbitrary
|
remove-arbitrary
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue