diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:17:39 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:17:39 -0300 |
commit | 922976d3d2fc5279070860fc7a4541160ef72fe1 (patch) | |
tree | 377b1c503bdd767dd109eeb032c21aa75e3155fb /share/db-functions | |
parent | 269be57f429162af70641cdf057d32c217d59ed7 (diff) |
rename native_*_pool* -> main_*_pool*
Diffstat (limited to 'share/db-functions')
-rw-r--r-- | share/db-functions | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/db-functions b/share/db-functions index 3424c4b..6e628e2 100644 --- a/share/db-functions +++ b/share/db-functions @@ -417,10 +417,10 @@ check_pkgrepos() { local pkgarch="$(getpkgarch "${pkgfile}")" [ $? -ge 1 ] && return 1 - [ -f "${root_dir}/${native_packages_pool}/${pkgname}-${pkgver}-${pkgarch}"${package_extension_suffixfile} ] && return 1 - [ -f "${root_dir}/${native_packages_pool}/${pkgname}-${pkgver}-${pkgarch}"${package_extension_suffixfile}.sig ] && return 1 - [ -f "${root_dir}/${native_packages_pool}/${pkgfile##*/}" ] && return 1 - [ -f "${root_dir}/${native_packages_pool}/${pkgfile##*/}.sig" ] && return 1 + [ -f "${root_dir}/${main_packages_pool}/${pkgname}-${pkgver}-${pkgarch}"${package_extension_suffixfile} ] && return 1 + [ -f "${root_dir}/${main_packages_pool}/${pkgname}-${pkgver}-${pkgarch}"${package_extension_suffixfile}.sig ] && return 1 + [ -f "${root_dir}/${main_packages_pool}/${pkgfile##*/}" ] && return 1 + [ -f "${root_dir}/${main_packages_pool}/${pkgfile##*/}.sig" ] && return 1 local repo local arch @@ -450,11 +450,11 @@ check_repo_permission() { local repo=$1 [ ${#native_repositories[@]} -eq 0 ] && return 1 - [ -z "${native_packages_pool}" ] && return 1 + [ -z "${main_packages_pool}" ] && return 1 in_array "${repo}" "${native_repositories[@]}" || return 1 - [ -w "${root_dir}/${native_packages_pool}" ] || return 1 + [ -w "${root_dir}/${main_packages_pool}" ] || return 1 local arch for arch in "${native_architectures[@]}"; do |