Skip to content

Commit

Permalink
Merge pull request #2 from faraco/patch-1
Browse files Browse the repository at this point in the history
Update install.sh
  • Loading branch information
dikiaap authored Dec 26, 2016
2 parents d04d4cf + 7178103 commit ad3b93f
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ad3b93f

Please sign in to comment.