syntax corrections

master
Patrick Höhn 2015-03-14 18:58:36 +01:00
parent a1f56311e7
commit d84037ecd5
1 changed files with 4 additions and 4 deletions

View File

@ -82,10 +82,10 @@ rm -r Zend
ln -s /usr/share/php/Zend/
read -p "Do you want to use SSL certificates for Zotero server? (y/n)" SSL
if [[ $SSL = y ]] ;
if [[ $SSL=y ]] ;
then
read -p "Do you want to generate SSL certificates now? (y/n)" gen_SSL
if [[ $gen_SSL = y ]];
if [[ $gen_SSL=y ]];
then
echo "generate SSL key and cert"
certtool -p --sec-param high --outfile /etc/apache2/zotero.key
@ -97,7 +97,7 @@ if [[ $SSL = y ]] ;
fi
read -p "Do you want to use SSL certificates for LibreS3? (y/n)" SSL_LibreS3
if [[ $SSL_LibreS3 = y ]] ;
if [[ $SSL_LibreS3=y ]] ;
then
cat "$cur_dir/sx.cert" >> /srv/zotero/dataserver/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem
fi
@ -105,7 +105,7 @@ fi
echo "enable rewrite support for apache2 server"
a2enmod rewrite
if [[ $SSL = y ]] ;
if [[ $SSL=y ]] ;
then
echo "enable ssl support for apache2 server"
a2enmod ssl