wok-6.x diff php-apache/receipt @ rev 20681
Down cdrtools (3.00) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 17:03:55 2019 +0100 (2019-01-26) |
parents | 55f67249b264 |
children | ccb0caebef6f |
line diff
1.1 --- a/php-apache/receipt Tue Jun 03 01:07:29 2014 +0200 1.2 +++ b/php-apache/receipt Sat Jan 26 17:03:55 2019 +0100 1.3 @@ -30,14 +30,14 @@ 1.4 1.5 post_install() 1.6 { 1.7 - grep -q php5_module $1/etc/apache/httpd.conf || { 1.8 + grep -q php5_module "$1/etc/apache/httpd.conf" || { 1.9 sed -e 's|mod_rewrite.so|mod_rewrite.so\nLoadModule php5_module share/apache/modules/libphp5.so|' \ 1.10 -e 's|DirectoryIndex index.html|DirectoryIndex index.html index.php|' \ 1.11 -e 's|mime.types|mime.types\n AddType application/x-httpd-php .php .php3 .php4 .php5\n AddType application/x-httpd-php-source .phps|' \ 1.12 - -i $1/etc/apache/httpd.conf 1.13 + -i "$1/etc/apache/httpd.conf" 1.14 } 1.15 - [ -f $1/etc/apache/conf.d/phpinfo ] || \ 1.16 - cat > $1/etc/apache/conf.d/phpinfo <<EOT 1.17 + [ -f "$1/etc/apache/conf.d/phpinfo" ] || \ 1.18 + cat > "$1/etc/apache/conf.d/phpinfo" <<EOT 1.19 <IfModule mod_alias.c> 1.20 Alias /phpinfo /usr/share/phpinfo 1.21 </IfModule>