瀏覽代碼

Add additional version to upgrade routine.

Raphael Schneeberger 6 年之前
父節點
當前提交
080fc7aec1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/upgrade/1.00.0-190621.sh

+ 1 - 1
install/upgrade/1.00.0-190621.sh

@@ -19,7 +19,7 @@ source /usr/local/hestia/conf/hestia.conf
 version=$(dpkg -l | awk '$2=="hestia" { print $3 }')
 version=$(dpkg -l | awk '$2=="hestia" { print $3 }')
 
 
 # Compare version for upgrade routine
 # Compare version for upgrade routine
-if [ "$version" != "1.00.0-190618" ]; then
+if [ "$version" != "1.00.0-190618" ] && [ "$version" != "0.10.0" ] then
     source $HESTIA/install/upgrade/1.00.0-190618.sh
     source $HESTIA/install/upgrade/1.00.0-190618.sh
 fi
 fi