mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Made installer generation more clear about missing rpmbuild/dpkg-deb
This commit is contained in:
parent
09d15ccbcc
commit
fc3c5b717a
@ -3506,6 +3506,9 @@ def MakeInstallerLinux():
|
|||||||
oscmd("rpmbuild --define '_rpmdir "+pandasource+"' -bb panda3d.spec")
|
oscmd("rpmbuild --define '_rpmdir "+pandasource+"' -bb panda3d.spec")
|
||||||
oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-1."+ARCH+".rpm .")
|
oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-1."+ARCH+".rpm .")
|
||||||
|
|
||||||
|
if not(os.path.exists("/usr/bin/rpmbuild") or os.path.exists("/usr/bin/dpkg-deb")):
|
||||||
|
exit("To build an installer, either rpmbuild or dpkg-deb must be present on your system!")
|
||||||
|
|
||||||
# oscmd("chmod -R 755 linuxroot")
|
# oscmd("chmod -R 755 linuxroot")
|
||||||
# oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec "+ARCH)
|
# oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec "+ARCH)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user