summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-08 07:02:15 +0100
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-08 07:02:15 +0100
commit969e2de31319c95913ec52f85b97552c3d26414f (patch)
tree99813f767d0445a070888c26e1d128e519c2c04f
parent6fd5374e66877d8d1b44aaf6f70e8a00ad8c2d7b (diff)
db-update: get the correct directory for xbs
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index f22eb15..4830791 100755
--- a/db-update
+++ b/db-update
@@ -64,7 +64,6 @@ for repo in "${repos[@]}"; do
add_pkgs=()
arch_pkgs=($(getpkgfiles "${STAGING}/${repo}/"*-"${pkgarch}"${PKGEXT} 2>/dev/null))
for pkg in "${arch_pkgs[@]}" "${any_pkgs[@]}"; do
- add_dirs+=("${STAGING}/abslibre/$(getpkgarch "$pkg")/$(getpkgbase "$pkg")")
pkgfile="${pkg##*/}"
msg2 "%s (%s)" "${pkgfile}" "${pkgarch}"
# any packages might have been moved by the previous run
@@ -79,6 +78,7 @@ for repo in "${repos[@]}"; do
if [ -f "$FTP_BASE/${PKGPOOL}/${pkgfile}.sig" ]; then
ln -s "../../../${PKGPOOL}/${pkgfile}.sig" "$FTP_BASE/$repo/os/${pkgarch}"
fi
+ add_dirs+=("${STAGING}/abslibre/$(getpkgarch "$FTP_BASE/$PKGPOOL/$pkgfile")/$repo/$(getpkgbase "$FTP_BASE/$PKGPOOL/$pkgfile")")
add_pkgs+=("${pkgfile}")
done
for add_dir in "${add_dirs[@]}"; do