wok-next diff dolibarr/receipt @ rev 19766
Up cookutils.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 12 11:40:38 2017 +0300 (2017-06-12) |
parents | a00bf44ed23d |
children | a3c581bf52b8 |
line diff
1.1 --- a/dolibarr/receipt Sat Aug 10 22:18:41 2013 +0000 1.2 +++ b/dolibarr/receipt Mon Jun 12 11:40:38 2017 +0300 1.3 @@ -72,9 +72,9 @@ 1.4 db_password=dolibarr 1.5 1.6 # Configure apache server 1.7 - if [ -f $1/etc/apache/httpd.conf ]; then 1.8 - if [ ! -f $1/etc/apache/conf.d/dolibarr.conf ]; then 1.9 - cat > $1/etc/apache/conf.d/dolibarr.conf <<EOT 1.10 + if [ -f "$1/etc/apache/httpd.conf" ]; then 1.11 + if [ ! -f "$1/etc/apache/conf.d/dolibarr.conf" ]; then 1.12 + cat > "$1/etc/apache/conf.d/dolibarr.conf" <<EOT 1.13 <IfModule mod_alias.c> 1.14 Alias /dolibarr /usr/share/dolibarr/htdocs 1.15 </IfModule> 1.16 @@ -95,7 +95,7 @@ 1.17 fi 1.18 1.19 # Configure every thing. 1.20 - if [ -z $1 ]; then 1.21 + if [ -z "$1" ]; then 1.22 if ( ! mysqladmin -s ping > /dev/null ); then 1.23 echo "Starting MySQL server" 1.24 ( /etc/init.d/mysql start ; status ) || exit