Last active
October 20, 2015 09:09
-
-
Save 3a4oT/098250454938edca806e to your computer and use it in GitHub Desktop.
This them include install script. Since I have plan to customize this theme I forked it. Short link http://git.io/vWUyS. to install 'curl -sSL http://git.io/vcIHr | sh'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -d "uno-zen" ]; then | |
echo "\nUno Zen is already installed. Maybe you want to update? Run:" | |
echo "\ncd uno-zen && sh scripts/update.sh\n" | |
exit | |
fi | |
git clone https://github.com/3a4oT/uno-zen.git && cd uno-zen | |
. "$PWD"/scripts/utils.sh | |
welcome | |
echo "Getting the repository tagged commits" | |
git fetch --tags | |
echo "Resolving the latest tagged version" | |
latestTag=$(git describe --tags "$(git rev-list --tags --max-count=1)") | |
echo "Creating a stable branch from the latest tagged version" | |
git checkout "$latestTag" | |
git checkout -b stable | |
echo "\nTheme Installed Successful! Enjoy :-)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment