wok-current diff squirrelmail-ldapuser/receipt @ rev 20515

bluez: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 01 19:22:49 2018 +0100 (2018-11-01)
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 Nov 01 19:22:49 2018 +0100
     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  }