13 lines
336 B
Plaintext
13 lines
336 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# vérifie si le patch est déjà appliqué
|
||
|
grep -q 2403 /usr/share/perl5/Lemonldap/NG/Portal/UserDB/LDAP.pm && exit 0
|
||
|
|
||
|
# copie de sauvegarde
|
||
|
cp -a /usr/share/perl5/Lemonldap/NG/Portal/UserDB/LDAP.pm /usr/share/eole/lemonldap-ng/
|
||
|
|
||
|
# application du patch
|
||
|
patch -d / -p 0 < /usr/share/eole/lemonldap-ng/LDAP.pm.patch
|
||
|
|
||
|
exit 0
|