Просмотр исходного кода

Fix issues where an older version is installed then the last one.

Jaap Marcus 5 лет назад
Родитель
Сommit
83316a32a2
2 измененных файлов с 5 добавлено и 1 удалено
  1. 2 1
      bin/v-add-sys-filemanager
  2. 3 0
      install/upgrade/upgrade.conf

+ 2 - 1
bin/v-add-sys-filemanager

@@ -13,12 +13,13 @@
 # Includes
 source $HESTIA/func/main.sh
 source $HESTIA/conf/hestia.conf
+source $HESTIA/install/upgrade/upgrade.conf
 
 MODE=$1
 user="admin"
 
 FM_INSTALL_DIR="$HESTIA/web/fm"
-FM_V="7.4.1"
+#FM_V="7.4.1"
 FM_FILE="filegator_v${FM_V}.zip"
 FM_URL="https://github.com/filegator/filegator/releases/download/v${FM_V}/${FM_FILE}"
 COMPOSER_BIN="$HOMEDIR/$user/.composer/composer"

+ 3 - 0
install/upgrade/upgrade.conf

@@ -57,3 +57,6 @@ rc_v="1.4.11"
 
 # Set version of Rainloop (Webmail) to update during upgrade if not already installed
 rl_v="1.15.0"
+
+# Set version of File manager to update during upgrade if not already installed
+rl_v="1.15.0"