Browse Source

Add missing nvidia-cg-toolkit dependency

rdb 14 years ago
parent
commit
eede914ab8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      makepanda/makepanda.py

+ 2 - 0
makepanda/makepanda.py

@@ -5259,6 +5259,8 @@ def MakeInstallerLinux():
             recommends = ReadFile("targetroot/debian/substvars_rec").replace("shlibs:Depends=", "").strip()
             if PkgSkip("PYTHON")==0:
                 depends += ", " + PYTHONV + ", python-pmw"
+            if PkgSkip("NVIDIACG")==0:
+                depends += ", nvidia-cg-toolkit"
             WriteFile("targetroot/DEBIAN/control", txt.replace("DEPENDS", depends).replace("RECOMMENDS", recommends))
         oscmd("rm -rf targetroot/debian")
         oscmd("chmod -R 755 targetroot/DEBIAN")