wok diff squirrelmail-ldapuser/receipt @ rev 23607

Up slitaz-boot-scripts (459)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 12 10:18:55 2020 +0000 (2020-04-12)
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	Sun Apr 12 10:18:55 2020 +0000
     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  }