index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | remote.inc.sh | 4 |
diff --git a/remote.inc.sh b/remote.inc.sh index 2cce6ba..f7e5539 100644 --- a/remote.inc.sh +++ b/remote.inc.sh @@ -82,5 +82,7 @@ remote_get_url() { remote_untrack() { local remote=$1 pkgname=$2 - git branch -dr "$remote/packages/$pkgname" + if git show-ref -q "refs/remotes/$remote/packages/$pkgname"; then + git branch -dr "$remote/packages/$pkgname" + fi } |