Skip to content

Commit 9e9da47

Browse files
author
Kristan Kenney
committed
Update variables for File Manager version check
1 parent bd08965 commit 9e9da47

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

bin/v-add-sys-filemanager

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ MODE=$1
1919
user="admin"
2020

2121
FM_INSTALL_DIR="$HESTIA/web/fm"
22-
FM_FILE="filegator_v${FM_V}.zip"
23-
FM_URL="https://github.com/filegator/filegator/releases/download/v${FM_V}/${FM_FILE}"
22+
FM_FILE="filegator_v${fm_v}.zip"
23+
FM_URL="https://github.com/filegator/filegator/releases/download/v${fm_v}/${FM_FILE}"
2424
COMPOSER_BIN="$HOMEDIR/$user/.composer/composer"
2525

2626

bin/v-delete-sys-filemanager

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ source $HESTIA/conf/hestia.conf
1919

2020
user='admin'
2121
FM_INSTALL_DIR="$HESTIA/web/fm"
22-
FM_V="7.4.1"
2322
COMPOSER_BIN="$HOMEDIR/$user/.composer/composer"
2423

2524
#----------------------------------------------------------#

install/deb/filemanager/install-fm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fi
1313
user='admin'
1414
fm_error='no'
1515
source $HESTIA/func/main.sh
16+
source $HESTIA/install/upgrade/upgrade.conf
1617

1718
if [ -z "$HOMEDIR" ] || [ -z "$HESTIA_INSTALL_DIR" ]; then
1819
echo "Error: Hestia environment vars not present"
@@ -21,9 +22,8 @@ fi
2122

2223
FM_INSTALL_DIR="$HESTIA/web/fm"
2324

24-
FM_V="7.4.1"
25-
FM_FILE="filegator_v${FM_V}.zip"
26-
FM_URL="https://github.com/filegator/filegator/releases/download/v${FM_V}/${FM_FILE}"
25+
FM_FILE="filegator_v${fm_v}.zip"
26+
FM_URL="https://github.com/filegator/filegator/releases/download/v${fm_v}/${FM_FILE}"
2727

2828

2929
COMPOSER_BIN="$HOMEDIR/$user/.composer/composer"

install/upgrade/upgrade.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ rc_v="1.4.11"
5959
rl_v="1.15.0"
6060

6161
# Set version of File manager to update during upgrade if not already installed
62-
FM_V="7.5.0"
62+
fm_v="7.5.0"

0 commit comments

Comments
 (0)