Update
This commit is contained in:
parent
f54dada1b5
commit
0d74db7261
18
1-install.sh
18
1-install.sh
|
@ -10,10 +10,6 @@
|
||||||
# Install Script for dotfiles and configuration
|
# Install Script for dotfiles and configuration
|
||||||
# yay must be installed
|
# yay must be installed
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Confirm Start
|
|
||||||
# ------------------------------------------------------
|
|
||||||
clear
|
clear
|
||||||
echo " _ _ __ _ _ "
|
echo " _ _ __ _ _ "
|
||||||
echo " __| | ___ | |_ / _(_) | ___ ___ "
|
echo " __| | ___ | |_ / _(_) | ___ ___ "
|
||||||
|
@ -29,6 +25,20 @@ echo "Symbolic links will be created instead if the folder or files doesn't exis
|
||||||
echo "If you want to overwrite your configuration please remove the correspondig folder in your .config first."
|
echo "If you want to overwrite your configuration please remove the correspondig folder in your .config first."
|
||||||
echo "(For example ~/.config/qtile, etc.)"
|
echo "(For example ~/.config/qtile, etc.)"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# Check if yay is installed
|
||||||
|
# ------------------------------------------------------
|
||||||
|
if sudo pacman -Qs yay > /dev/null ; then
|
||||||
|
echo "yay is installed. You can proceed with the installation"
|
||||||
|
else
|
||||||
|
echo "yay is not installed. Please install yay before proceed with the installation"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# Confirm Start
|
||||||
|
# ------------------------------------------------------
|
||||||
while true; do
|
while true; do
|
||||||
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
|
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
|
||||||
case $yn in
|
case $yn in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user