wok diff squirrelmail-ldapuser/receipt @ rev 19403

isolinux/iso2exe: fix copycmdline()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 05 18:15:15 2016 +0200 (2016-09-05)
parents d51b2411e55e
children 46dcc80bef41
line diff
     1.1 --- a/squirrelmail-ldapuser/receipt	Sat Apr 05 10:12:34 2014 +0000
     1.2 +++ b/squirrelmail-ldapuser/receipt	Mon Sep 05 18:15:15 2016 +0200
     1.3 @@ -35,12 +35,12 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
     1.8 -	mv $1/usr/share/squirrelmail/functions/file_prefs.php \
     1.9 -	   $1/usr/share/squirrelmail/functions/file_prefs.php.original
    1.10 +	echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
    1.11 +	mv "$1/usr/share/squirrelmail/functions/file_prefs.php" \
    1.12 +	   "$1/usr/share/squirrelmail/functions/file_prefs.php.original"
    1.13  	ln -s ../plugins/ldapuserdata/file_prefs.php \
    1.14 -		$1/usr/share/squirrelmail/functions/file_prefs.php
    1.15 -	cat >> $1/etc/openldap/slapd.conf <<EOT
    1.16 +		"$1/usr/share/squirrelmail/functions/file_prefs.php"
    1.17 +	cat >> "$1/etc/openldap/slapd.conf" <<EOT
    1.18  include /usr/share/squirrelmail/plugins/$SOURCE/doc/squirrelmail.schema
    1.19  EOT
    1.20  }