Skip to content

Commit 694bee1

Browse files
authored
Fix order of applied patches on upgrade (hestiacp#3239)
1 parent e3ad465 commit 694bee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ upgrade_start_routine() {
481481
VERSION=$(echo "$VERSION" | sed "s/~\([a-zA-Z0-9].*\)//g")
482482

483483
# Get list of all available version steps and create array
484-
upgrade_steps=$(ls $HESTIA/install/upgrade/versions/*.sh)
484+
upgrade_steps=$(ls -v $HESTIA/install/upgrade/versions/*.sh)
485485
for script in $upgrade_steps; do
486486
declare -a available_versions
487487
available_versions+=($(echo $script | sed "s|/usr/local/hestia/install/upgrade/versions/||g" | sed "s|.sh||g"))

0 commit comments

Comments
 (0)