changeset 798:e48b38cf7bb1

fports: FIX: Remove debug setting with regard to mapped packages
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 31 Oct 2024 14:54:54 +0100
parents 7f64b4420703
children 96631c3886d9
files sbin/fports
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/fports	Thu Oct 31 14:54:27 2024 +0100
+++ b/sbin/fports	Thu Oct 31 14:54:54 2024 +0100
@@ -400,7 +400,7 @@
     fi
     farray_for_each repositories _package_repository_detail "${package}" 0
     mapped_package="$(get_package_mapping "${packagemapping}" "${package}")"
-    if [ -z "${mapped_package}" ]; then
+    if [ -n "${mapped_package}" ]; then
         printf '%18s %s\n' "--------------->" "${mapped_package}"
         if [ -n "${indexfile}" ]; then
             pkgversion="$(parse_index_file_for_package_version "${indexfile}" "${mapped_package}")"