Skip to content

Commit 0235154

Browse files
committed
Automatically install filemanager on new systems and during upgrades.
1 parent 394b3b5 commit 0235154

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

install/hst-install-debian.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,6 +1677,16 @@ if [ "$fail2ban" = 'yes' ]; then
16771677
fi
16781678

16791679

1680+
#----------------------------------------------------------#
1681+
# Configure FileManager #
1682+
#----------------------------------------------------------#
1683+
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
1688+
1689+
16801690
#----------------------------------------------------------#
16811691
# Configure API #
16821692
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,16 @@ if [ "$fail2ban" = 'yes' ]; then
16321632
fi
16331633

16341634

1635+
#----------------------------------------------------------#
1636+
# Configure FileManager #
1637+
#----------------------------------------------------------#
1638+
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
1643+
1644+
16351645
#----------------------------------------------------------#
16361646
# Configure API #
16371647
#----------------------------------------------------------#

install/upgrade/versions/latest.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,10 @@ if [ "$WEB_SYSTEM" = "apache2" ]; then
7676
if [ ! -e "/etc/apache2/mods-enabled/hestia-event.conf" ]; then
7777
cp -f $HESTIA_INSTALL_DIR/apache2/hestia-event.conf /etc/apache2/mods-enabled/
7878
fi
79+
fi
80+
81+
# Install Filegator FileManager during upgrade
82+
if [ -e "/etc/nginx/nginx.conf" ]; then
83+
echo "(*) Configuring Filegator FileManager..."
84+
source HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
7985
fi

0 commit comments

Comments
 (0)