summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2019-05-18 22:10:34 +0200
committerjohannst <stoelp@eit.uni-kl.de>2019-05-18 22:10:34 +0200
commitd7839c09d8957c5c6acdeebde2964788ec090c7e (patch)
tree5e6fdd05494e672262393fbb7f3c21bc3ea97161 /install
parentbc5daef75f0521dbe1e6456c5e87a9719bc553cf (diff)
downloaddotfiles-d7839c09d8957c5c6acdeebde2964788ec090c7e.tar.gz
dotfiles-d7839c09d8957c5c6acdeebde2964788ec090c7e.zip
install: added prompt after parsing config tags
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files 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
}