summaryrefslogtreecommitdiff
path: root/db-move
diff options
context:
space:
mode:
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-move b/db-move
index 211e191..3d2b551 100755
--- a/db-move
+++ b/db-move
@@ -81,11 +81,11 @@ for pkgbase in "${args[@]:2}"; do
pkgpath=$(getpkgfile "${ftppath_from}/${tarch}/${pkgname}-${pkgver}-${pkgarch}"${package_extension_suffixfile})
pkgfile="${pkgpath##*/}"
- ln -s "../../../${packages_pool}/${pkgfile}" "${ftppath_to}/${tarch}/"
- if [ -f "${root_dir}/${packages_pool}/${pkgfile}.sig" ]; then
- ln -s "../../../${packages_pool}/${pkgfile}.sig" "${ftppath_to}/${tarch}/"
+ ln -s "../../../${native_packages_pool}/${pkgfile}" "${ftppath_to}/${tarch}/"
+ if [ -f "${root_dir}/${native_packages_pool}/${pkgfile}.sig" ]; then
+ ln -s "../../../${native_packages_pool}/${pkgfile}.sig" "${ftppath_to}/${tarch}/"
fi
- add_pkgs[${tarch}]+="${root_dir}/${packages_pool}/${pkgfile} "
+ add_pkgs[${tarch}]+="${root_dir}/${native_packages_pool}/${pkgfile} "
remove_pkgs[${tarch}]+="${pkgname} "
done
done