From d84037ecd5adac5068ed3535a6e2a0c9afcb39b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Sat, 14 Mar 2015 18:58:36 +0100 Subject: [PATCH] syntax corrections --- install_zotero.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install_zotero.sh b/install_zotero.sh index 12cb29a..979d460 100755 --- a/install_zotero.sh +++ b/install_zotero.sh @@ -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