mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Adding additional check for /usr/bin/dpkg-deb back in
This commit is contained in:
parent
fecb7f69fe
commit
9a96809fa5
@ -6286,14 +6286,14 @@ def MakeInstallerLinux():
|
|||||||
oscmd("mkdir --mode=0755 targetroot")
|
oscmd("mkdir --mode=0755 targetroot")
|
||||||
|
|
||||||
dpkg_present = False
|
dpkg_present = False
|
||||||
if os.path.exists("/usr/bin/dpkg-architecture"):
|
if os.path.exists("/usr/bin/dpkg-architecture") and os.path.exists("/usr/bin/dpkg-deb"):
|
||||||
dpkg_present = True
|
dpkg_present = True
|
||||||
rpmbuild_present = False
|
rpmbuild_present = False
|
||||||
if os.path.exists("/usr/bin/rpmbuild"):
|
if os.path.exists("/usr/bin/rpmbuild"):
|
||||||
rpmbuild_present = True
|
rpmbuild_present = True
|
||||||
|
|
||||||
if dpkg_present and rpmbuild_present:
|
if dpkg_present and rpmbuild_present:
|
||||||
print("Warning: both dpkg-architecture and rpmbuild present.")
|
print("Warning: both dpkg and rpmbuild present.")
|
||||||
|
|
||||||
if dpkg_present:
|
if dpkg_present:
|
||||||
# Invoke installpanda.py to install it into a temporary dir
|
# Invoke installpanda.py to install it into a temporary dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user