mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-02 07:09:57 +00:00
Update rtsetup
This commit is contained in:
@@ -28,7 +28,7 @@ if [ -z $branch ] && [ -d /etc/rtinst ]; then
|
||||
branch=$(git symbolic-ref --short HEAD 2>/dev/null)
|
||||
fi
|
||||
|
||||
if [ -z $branch ]; then
|
||||
if [ -z $branch ] || [ $(git ls-remote --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then
|
||||
branch=master
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user