summaryrefslogtreecommitdiff
path: root/db-move
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:17:39 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:17:39 -0300
commit922976d3d2fc5279070860fc7a4541160ef72fe1 (patch)
tree377b1c503bdd767dd109eeb032c21aa75e3155fb /db-move
parent269be57f429162af70641cdf057d32c217d59ed7 (diff)
rename native_*_pool* -> main_*_pool*
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 3d2b551..c35aac1 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 "../../../${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}/"
+ ln -s "../../../${main_packages_pool}/${pkgfile}" "${ftppath_to}/${tarch}/"
+ if [ -f "${root_dir}/${main_packages_pool}/${pkgfile}.sig" ]; then
+ ln -s "../../../${main_packages_pool}/${pkgfile}.sig" "${ftppath_to}/${tarch}/"
fi
- add_pkgs[${tarch}]+="${root_dir}/${native_packages_pool}/${pkgfile} "
+ add_pkgs[${tarch}]+="${root_dir}/${main_packages_pool}/${pkgfile} "
remove_pkgs[${tarch}]+="${pkgname} "
done
done