databases/web2ldap: cvs add missing patch, noted by Lucas Raab, thanks !
This commit is contained in:
parent
7f27e68416
commit
7912b01d4d
14
databases/web2ldap/patches/patch-web2ldap___init___py
Normal file
14
databases/web2ldap/patches/patch-web2ldap___init___py
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-web2ldap___init___py,v 1.1 2021/10/11 09:25:16 landry Exp $
|
||||
|
||||
Index: web2ldap/__init__.py
|
||||
--- web2ldap/__init__.py.orig
|
||||
+++ web2ldap/__init__.py
|
||||
@@ -29,7 +29,7 @@ if 'WEB2LDAP_HOME' in os.environ:
|
||||
elif (
|
||||
platform.uname().system == 'Linux'
|
||||
and sys.prefix == '/usr'
|
||||
- ):
|
||||
+ ) or platform.uname().system == 'OpenBSD':
|
||||
# OS-wide installation on GNU/Linux,
|
||||
# assume configuration is in global /etc/web2ldap
|
||||
ETC_DIR = '/etc/web2ldap'
|
Loading…
x
Reference in New Issue
Block a user