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