wok-6.x diff squirrelmail-ldapuser/receipt @ rev 20328

Up tazlito (504)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 24 11:00:15 2018 +0200 (2018-05-24)
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	Thu May 24 11:00:15 2018 +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  }