summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update12
1 files changed, 6 insertions, 6 deletions
diff --git a/db-update b/db-update
index 60f3142..5359959 100755
--- a/db-update
+++ b/db-update
@@ -68,17 +68,17 @@ for repo in "${repos[@]}"; do
msg2 "%s (%s)" "${pkgfile}" "${pkgarch}"
# any packages might have been moved by the previous run
if [ -f "${pkg}" ]; then
- mv "${pkg}" "${root_dir}/${packages_pool}"
+ mv "${pkg}" "${root_dir}/${native_packages_pool}"
fi
- ln -s "../../../${packages_pool}/${pkgfile}" "${root_dir}/$repo/os/${pkgarch}"
+ ln -s "../../../${native_packages_pool}/${pkgfile}" "${root_dir}/$repo/os/${pkgarch}"
# also move signatures
if [ -f "${pkg}.sig" ]; then
- mv "${pkg}.sig" "${root_dir}/${packages_pool}"
+ mv "${pkg}.sig" "${root_dir}/${native_packages_pool}"
fi
- if [ -f "${root_dir}/${packages_pool}/${pkgfile}.sig" ]; then
- ln -s "../../../${packages_pool}/${pkgfile}.sig" "${root_dir}/$repo/os/${pkgarch}"
+ if [ -f "${root_dir}/${native_packages_pool}/${pkgfile}.sig" ]; then
+ ln -s "../../../${native_packages_pool}/${pkgfile}.sig" "${root_dir}/$repo/os/${pkgarch}"
fi
- add_dirs+=("${staging_directory}/abslibre/$(getpkgarch "${root_dir}/$packages_pool/$pkgfile")/$repo/$(getpkgbase "${root_dir}/$packages_pool/$pkgfile")")
+ add_dirs+=("${staging_directory}/abslibre/$(getpkgarch "${root_dir}/$native_packages_pool/$pkgfile")/$repo/$(getpkgbase "${root_dir}/$native_packages_pool/$pkgfile")")
add_pkgs+=("${pkgfile}")
done
for add_dir in "${add_dirs[@]}"; do