Skip to content

Commit 776a383

Browse files
committed
Small rewrite in software+mph var.
1 parent 9bdde12 commit 776a383

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

install/hst-install-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ fi
909909
# Configure Apache #
910910
#----------------------------------------------------------#
911911

912-
if [ "$apache" = 'yes' ]; then
912+
if [ "$apache" = 'yes' ]; then
913913
cp -f $hestiacp/apache2/apache2.conf /etc/apache2/
914914
cp -f $hestiacp/apache2/status.conf /etc/apache2/mods-enabled/
915915
cp -f $hestiacp/logrotate/apache2 /etc/logrotate.d/
@@ -930,7 +930,7 @@ if [ "$apache" = 'yes' ]; then
930930
chmod a+x /var/log/apache2
931931
chmod 640 /var/log/apache2/access.log /var/log/apache2/error.log
932932
chmod 751 /var/log/apache2/domains
933-
if [ "$multiphp" = 'yes'] ; then
933+
if [ "$multiphp" = 'yes' ]; then
934934
a2enmod proxy_fcgi setenvif
935935
a2enconf php5.6-fpm
936936
a2enconf php7.0-fpm
@@ -950,7 +950,7 @@ if [ "$apache" = 'yes' ]; then
950950
rm -f /etc/php/7.2/fpm/pool.d/*
951951
cp -f $hestiacp/multiphp/apache2/* $HESTIA/data/templates/web/apache2/
952952
chmod a+x $HESTIA/data/web/apache2/*.sh
953-
if [ "$release" = '8'] ; then
953+
if [ "$release" = '8' ]; then
954954
sed -i 's/#//g' $HESTIA/data/templates/web/apache2/*.tpl
955955
sed -i 's/#//g' $HESTIA/data/templates/web/apache2/*.stpl
956956
fi

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ if [ "$nginx" = 'yes' ]; then
878878
cp -f $hestiacp/logrotate/nginx /etc/logrotate.d/
879879
echo > /etc/nginx/conf.d/hestia.conf
880880
mkdir -p /var/log/nginx/domains
881-
if [ "$apache" = 'no' ] && [ "$multiphp" = 'yes']; then
881+
if [ "$apache" = 'no' ] && [ "$multiphp" = 'yes' ]; then
882882
update-rc.d php5.6-fpm defaults
883883
update-rc.d php7.0-fpm defaults
884884
update-rc.d php7.1-fpm defaults
@@ -924,7 +924,7 @@ if [ "$apache" = 'yes' ]; then
924924
chmod a+x /var/log/apache2
925925
chmod 640 /var/log/apache2/access.log /var/log/apache2/error.log
926926
chmod 751 /var/log/apache2/domains
927-
if [ "$multiphp" = 'yes'] ; then
927+
if [ "$multiphp" = 'yes' ] ; then
928928
a2enmod proxy_fcgi setenvif
929929
a2enconf php5.6-fpm
930930
a2enconf php7.0-fpm

0 commit comments

Comments
 (0)