Don't unset recommends namerefs

This commit is contained in:
2025-10-21 17:55:01 -04:00
parent f7ddf6830e
commit 373ec80694

View File

@@ -928,8 +928,6 @@ translate_packages() {
*) *)
echo "Skipping package translations for $ID" echo "Skipping package translations for $ID"
esac esac
unset requires_arr recommends_arr
} }
# @description Creates an RPM .spec file and builds the RPM from the source DEB using rpmbuild # @description Creates an RPM .spec file and builds the RPM from the source DEB using rpmbuild
@@ -1873,7 +1871,7 @@ main() {
if ((BUILD_SWITCH)); then if ((BUILD_SWITCH)); then
acquire_deb || { err "Could not download Media Center DEB package"; return 1; } acquire_deb || { err "Could not download Media Center DEB package"; return 1; }
# Convert the source DEB dependencies to various distro-specific package naming # Convert the source DEB dependencies to various distro-specific packages
install_package dpkg install_package dpkg
translate_packages "$MC_DEB" requires recommends translate_packages "$MC_DEB" requires recommends