diff options
Diffstat (limited to 'www/web2ldap/files/patch-ag')
-rw-r--r-- | www/web2ldap/files/patch-ag | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/web2ldap/files/patch-ag b/www/web2ldap/files/patch-ag new file mode 100644 index 000000000000..9496de08ccd7 --- /dev/null +++ b/www/web2ldap/files/patch-ag @@ -0,0 +1,30 @@ +*** cgi-bin/web2ldap.py.orig Thu Jan 11 23:55:56 2001 +--- cgi-bin/web2ldap.py Thu Jan 11 23:56:20 2001 +*************** +*** 1,4 **** +! #!/usr/bin/python + + ######################################################################## + # web2ldap - web-based LDAP Client, see http://www.web2ldap.de +--- 1,4 ---- +! #!/usr/local/bin/python2.0 + + ######################################################################## + # web2ldap - web-based LDAP Client, see http://www.web2ldap.de +*************** +*** 15,21 **** + + if os.name == 'posix': + # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems +! sys.path.insert(0,'/etc/web2ldap') + else: + # For finding web2ldapcnf.py in system dirs on Windows systems + for i in ['SystemRoot','windir']: +--- 15,21 ---- + + if os.name == 'posix': + # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems +! sys.path.insert(0,'/usr/local/web2ldap/etc/web2ldap') + else: + # For finding web2ldapcnf.py in system dirs on Windows systems + for i in ['SystemRoot','windir']: |