diff options
author | johannst <stoelp@eit.uni-kl.de> | 2019-05-18 22:10:34 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2019-05-18 22:10:34 +0200 |
commit | d7839c09d8957c5c6acdeebde2964788ec090c7e (patch) | |
tree | 5e6fdd05494e672262393fbb7f3c21bc3ea97161 /install | |
parent | bc5daef75f0521dbe1e6456c5e87a9719bc553cf (diff) | |
download | dotfiles-d7839c09d8957c5c6acdeebde2964788ec090c7e.tar.gz dotfiles-d7839c09d8957c5c6acdeebde2964788ec090c7e.zip |
install: added prompt after parsing config tags
Diffstat (limited to 'install')
-rwxr-xr-x | install | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 } |