lcs-spip : make a working release 2.1-3
authorjlcf <jlcf>
Mon, 27 Apr 2009 14:08:48 +0000 (14:08 +0000)
committerjlcf <jlcf@1012e355-7652-49d3-8fd6-1f9b0b464cea>
Mon, 27 Apr 2009 14:08:48 +0000 (14:08 +0000)
git-svn-id: https://svn.tice.ac-caen.fr/svn/LcsSE3/LCS/LCS2.0ndg/sources/trunk/lcs-spip@2403 1012e355-7652-49d3-8fd6-1f9b0b464cea

debian/postinst

index e862514..fb61485 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 MODULE="spip"
 VER=$(dpkg-query -f '${Version}' -W lcs-$MODULE)
-VERAPPLI="2.0-7"
+VERAPPLI="1.9.2h"
 INDICEMAJNBR="5"
 CONF="/var/lib/lcs/$MODULE"
 PATHMOD="/usr/share/lcs/$MODULE"
@@ -81,12 +81,9 @@ fi
 
     cp $CONF/Mod/config/connect.php.in $CONF/Mod/config/connect.php
     sed -i "s#@passwd@#$passwd#" $CONF/Mod/config/connect.php
+    sed -i "s#@ldapserver@#$ldapserver#" $CONF/Mod/config/connect.php
+    sed -i "s#@basedn@#$basedn#" $CONF/Mod/config/connect.php
     mv $CONF/Mod/config/connect.php $PATHMOD/config/
-
-    cp $CONF/Mod/config/ldap.php.in $CONF/Mod/config/ldap.php
-    sed -i "s#@ldapserver@#$ldapserver#" $CONF/Mod/config/ldap.php
-    sed -i "s#@basedn@#$basedn#" $CONF/Mod/config/ldap.php
-    mv $CONF/Mod/config/ldap.php $PATHMOD/config/
     #
     # Mise en place du rep plugins si il n'existe pas
     #