Skip to content

Instantly share code, notes, and snippets.

@3a4oT
Last active October 20, 2015 09:09
Show Gist options
  • Save 3a4oT/098250454938edca806e to your computer and use it in GitHub Desktop.
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'
#!/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