Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.inc.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/package.inc.sh b/package.inc.sh
index d382b41..4088990 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -12,15 +12,7 @@ package_init() {
(( do_update )) || return 0
- if ! remote_is_tracking "${!2}" "$pkgname"; then
- package_update "$pkgname" "${!2}" || return 1
- fi
-}
-
-package_update() {
- local pkgname=$1 remote=$2
-
- git fetch "$remote" "packages/$pkgname"
+ remote_is_tracking "${!2}" "$pkgname" || remote_update_refs "${!2}" "$pkgname"
}
package_find_remote() {