Skip to content

Commit 16c8e79

Browse files
committed
Adjust fm if conditions.
1 parent 7bd9948 commit 16c8e79

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,10 +1681,8 @@ fi
16811681
# Configure FileManager #
16821682
#----------------------------------------------------------#
16831683

1684-
if [ "$nginx" = 'yes' ]; then
1685-
echo "(*) Configuring Filegator FileManager..."
1686-
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
1687-
fi
1684+
echo "(*) Configuring Filegator FileManager..."
1685+
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
16881686

16891687

16901688
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,10 +1636,8 @@ fi
16361636
# Configure FileManager #
16371637
#----------------------------------------------------------#
16381638

1639-
if [ "$nginx" = 'yes' ]; then
1640-
echo "(*) Configuring Filegator FileManager..."
1641-
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
1642-
fi
1639+
echo "(*) Configuring Filegator FileManager..."
1640+
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
16431641

16441642

16451643
#----------------------------------------------------------#

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [ "$WEB_SYSTEM" = "apache2" ]; then
7979
fi
8080

8181
# Install Filegator FileManager during upgrade
82-
if [ -e "/etc/nginx/nginx.conf" ]; then
82+
if [ ! -e "$HESTIA/web/fm/configuration.php" ]; then
8383
echo "(*) Configuring Filegator FileManager..."
8484
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
8585
fi

0 commit comments

Comments
 (0)