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