aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-09 08:12:22 +0200
committerneodarz <neodarz@neodarz.net>2019-09-09 08:12:22 +0200
commit35adf5b44b1f72d43f153584522e034191279dec (patch)
tree9ffc131ef27bad9b134d7a0f688e8d51961da3fe
parentef1b9294410d58b31975e7006bc321c7b87adb4c (diff)
downloaddotfiles-35adf5b44b1f72d43f153584522e034191279dec.tar.xz
dotfiles-35adf5b44b1f72d43f153584522e034191279dec.zip
Move some part in a long install mode
-rwxr-xr-xinstall.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 422a624..d5a0377 100755
--- a/install.sh
+++ b/install.sh
@@ -77,7 +77,6 @@ echo "[AUR] Install some common app..."
#pikaur -S --noconfirm --needed waterfox-bin
#pikaur -S --noconfirm --needed grv
#pikaur -S --noconfirm --needed friendly-find
-#pikaur -S --noconfirm --needed nerd-fonts-complete
# install needed package for profile
@@ -250,3 +249,16 @@ echo "Install vdirsyncer..."
echo "Hey install is done!"
echo "Check arch wiki for driver installation."
echo "=> https://wiki.archlinux.org/index.php/Xorg#Driver_installation"
+
+# long install
+
+echo "There is some package who are too long to install."
+read -r -p "Would you like to install it? [y/N] " response
+if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]
+then
+ echo "Starting long install..."
+ #pikaur -S --noconfirm --needed nerd-fonts-complete
+else
+ echo "Long install canceled, if you want you can relaunch this script"
+ exit
+fi