1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-30 16:12:12 +00:00

Update rtgetscripts

This commit is contained in:
arakasi72
2017-06-21 22:33:51 +01:00
committed by GitHub
parent 184342d15d
commit 8fdb22e4e7

View File

@@ -21,7 +21,13 @@ fi
cd /etc/rtinst
branch=$(git symbolic-ref --short HEAD)
branch=$(git symbolic-ref --short HEAD 2>/dev/null)
if [ -z $branch ]; then
echo "Not in a branch, this is a fixed release"
echo "Run rtsetup to switch to master release"
exit
fi
if [ $(git ls-remote --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then
echo "$branch no longer appears to exist"