wok diff squirrelmail-ldapuser/receipt @ rev 22434

Add sshrc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 12:20:01 2019 +0100 (2019-12-21)
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	Sat Dec 21 12:20:01 2019 +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  }