From d7839c09d8957c5c6acdeebde2964788ec090c7e Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 18 May 2019 22:10:34 +0200 Subject: install: added prompt after parsing config tags --- install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install b/install index 28b1e5f..a26bc65 100755 --- a/install +++ b/install @@ -255,11 +255,15 @@ function main() { done < $gInstallConfigFile echo "[Info]: List of tags found to install:" - for conf in ${configToInstall[@]}; do + for conf in ${configToInstall[@]}; do echo -e "\t$conf" done - for conf in ${configToInstall[@]}; do + echo "Install this configs? [yY/nN]" + read go_install + [[ $go_install =~ ^[^yY]$ ]] && exit 0 + + for conf in ${configToInstall[@]}; do installConfig $conf done } -- cgit v1.2.3