diff options
Diffstat (limited to 'print/system-config-printer/files/patch-pysmb.py')
-rw-r--r-- | print/system-config-printer/files/patch-pysmb.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/print/system-config-printer/files/patch-pysmb.py b/print/system-config-printer/files/patch-pysmb.py new file mode 100644 index 000000000..648837de6 --- /dev/null +++ b/print/system-config-printer/files/patch-pysmb.py @@ -0,0 +1,19 @@ +--- pysmb.py.orig 2008-03-20 11:55:30.000000000 -0400 ++++ pysmb.py 2008-03-20 11:56:22.000000000 -0400 +@@ -24,13 +24,13 @@ + import sys + import re + +-nmblookup = "/usr/bin/nmblookup" +-smbclient = "/usr/bin/smbclient" ++nmblookup = "%%LOCALBASE%%/bin/nmblookup" ++smbclient = "%%LOCALBASE%%/bin/smbclient" + + wins = None + + def get_wins_server(): +- smbconf = "/etc/samba/smb.conf" ++ smbconf = "%%LOCALBASE%%/etc/smb.conf" + wsregex = re.compile("\s*wins\s*server.*",re.IGNORECASE) + + global wins |