Updates
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
# ------------------------------------------------------
|
||||
|
||||
echo "IMPORTANT: Please make sure that your system and your packages are up to date (sudo pacman -Syu or yay)."
|
||||
echo "You can cancel the installation at any time with CMD + C"
|
||||
echo "You can cancel the installation at any time with CTRL + C"
|
||||
echo "If you have already installed a window manager like sway, please backup your .config folder."
|
||||
SCRIPT=$(realpath "$0")
|
||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
if [ $SCRIPTPATH = "/home/$USER/dotfiles" ]; then
|
||||
echo ""
|
||||
echo "IMPORTANT: You're running the installation script from the installation target directory."
|
||||
echo "Please move the installation folder dotfiles e.g. to ~/Downloads/ and start the script again."
|
||||
echo "Proceeding is not recommended!"
|
||||
@@ -25,7 +26,6 @@ if [ ! -d ~/dotfiles ];then
|
||||
exit;
|
||||
fi
|
||||
else
|
||||
echo "A ML4W dotfiles installation has been detected."
|
||||
if gum confirm "DO YOU WANT TO START THE UPDATE NOW?" ;then
|
||||
echo "Update started."
|
||||
elif [ $? -eq 130 ]; then
|
||||
|
||||
Reference in New Issue
Block a user