pisilinux.patch 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. diff -Naur comar-api-2.4.9.orig/comar/network.py comar-api-2.4.9/comar/network.py
  2. --- comar-api-2.4.9.orig/comar/network.py 2014-08-19 20:10:23.926869379 +0200
  3. +++ comar-api-2.4.9/comar/network.py 2014-08-19 20:11:42.129866522 +0200
  4. @@ -15,8 +15,8 @@
  5. import os
  6. import subprocess
  7. -from pardus import iniutils
  8. -from pardus import netutils
  9. +from pisilinux import iniutils
  10. +from pisilinux import netutils
  11. from comar.service import startService, stopService, loadConfig
  12. diff -Naur comar-api-2.4.9.orig/setup.py comar-api-2.4.9/setup.py
  13. --- comar-api-2.4.9.orig/setup.py 2010-11-11 14:29:05.000000000 +0100
  14. +++ comar-api-2.4.9/setup.py 2014-08-19 20:12:26.807864889 +0200
  15. @@ -50,9 +50,9 @@
  16. class Install(install):
  17. def finalize_options(self):
  18. # NOTE: for Pardus distribution
  19. - if os.path.exists("/etc/pardus-release"):
  20. - self.install_platlib = '$base/lib/pardus'
  21. - self.install_purelib = '$base/lib/pardus'
  22. + if os.path.exists("/etc/pisilinux-release"):
  23. + self.install_platlib = '$base/lib/pisilinux'
  24. + self.install_purelib = '$base/lib/pisilinux'
  25. install.finalize_options(self)
  26. def run(self):