diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-08 07:02:15 +0100 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-08 07:02:15 +0100 |
commit | 969e2de31319c95913ec52f85b97552c3d26414f (patch) | |
tree | 99813f767d0445a070888c26e1d128e519c2c04f | |
parent | 6fd5374e66877d8d1b44aaf6f70e8a00ad8c2d7b (diff) |
db-update: get the correct directory for xbs
-rwxr-xr-x | db-update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |