makepackage: Fix extra comma in deb depends line when building without Python

This commit is contained in:
rdb 2022-01-05 08:14:25 +01:00
parent d65ca1edd6
commit ae6be7e113

View File

@ -397,7 +397,8 @@ def MakeInstallerLinux(version, debversion=None, rpmversion=None, rpmrelease=1,
provides = "panda3d"
# Require at least one of the Python versions we built for.
depends += ", " + " | ".join("python" + version_info["version"] for version_info in install_python_versions)
if install_python_versions:
depends += ", " + " | ".join("python" + version_info["version"] for version_info in install_python_versions)
# But recommend the system version of Python 3.
if python3_ver: