diff --git a/install.sh b/install.sh index a214387..22ba040 100755 --- a/install.sh +++ b/install.sh @@ -1,11 +1,21 @@ #!/bin/bash -read -p "Do you want to install Frost [Y/n]?" yn +read -p "Do you want to install Frost [Y/n]? " yn -if [[ $yn =~ ^[Yy]$ ]] || [[ $yn == "" ]]; then +case "$yn" in + y|Y|yes|YES|"") + echo "Copying plank theme..." + cp -Ri Frost $HOME/.local/share/plank/themes + + echo "Done" + + ;; + + *) + echo "Invalid input" + exit 1 + +esac - echo "Copying plank theme..." - cp -Ri Frost $HOME/.local/share/plank/themes - - echo "Done" -fi +exit 0 +