Add BRANCH variable

This commit is contained in:
aptalca
2018-02-23 15:52:39 -05:00
committed by GitHub
parent b767cf054f
commit b4e6b7a6cf

View File

@@ -4,6 +4,12 @@
mkdir -p \
/config/www/{backgrounds,icons}
# update from git repo
cd /var/www/localhost/heimdall
git pull
[[ -z "$BRANCH" ]] && \
git checkout "$BRANCH"
# symlink user config
symlinks=( \