summaryrefslogtreecommitdiff
path: root/remote.inc.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-17 21:22:20 +0100
committerErich Eckner <git@eckner.net>2019-02-17 21:22:20 +0100
commit22e0963aaab28358c4ebd6db6c9b23e881a995cf (patch)
tree6de6a8f0a72e0391d2f505caf9616240564c29b4 /remote.inc.sh
parentca603bc4b69bcdc22c50c5efa09845a48f605a7e (diff)
parentfe50aec47abf45175d01a620e81dc32f35f74fe0 (diff)
downloadasp32-22e0963aaab28358c4ebd6db6c9b23e881a995cf.tar.xz
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'remote.inc.sh')
-rw-r--r--remote.inc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.inc.sh b/remote.inc.sh
index 2c39a55..5ed73af 100644
--- a/remote.inc.sh
+++ b/remote.inc.sh
@@ -5,7 +5,7 @@ __remote_refcache_update() {
log_fatal "failed to update remote $remote"
printf '%s' "$refs" |
- awk '{ sub(/refs\/heads\//, "", $2); print $2 }' >"$cachefile"
+ awk '{ sub(/refs\/heads\/packages\//, "", $2); print $2 }' >"$cachefile"
}
__remote_refcache_is_stale() {
@@ -50,7 +50,7 @@ remote_has_package() {
remote_get_all_refs "$remote" refs
- in_array "packages/$pkgname" "${refs[@]}"
+ in_array "$pkgname" "${refs[@]}"
}
remote_is_tracking() {