Skip to content

Commit 459a5d0

Browse files
author
Kristan Kenney
committed
Use internal script to set RELEASE_BRANCH instead of sed
1 parent bec2895 commit 459a5d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

func/upgrade.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ upgrade_start_routine() {
7878
release_branch_check=$(cat $HESTIA/conf/hestia.conf | grep RELEASE_BRANCH)
7979
if [ -z "$release_branch_check" ]; then
8080
echo "(*) Adding global release branch variable to system configuration..."
81-
sed -i "/RELEASE_BRANCH/d" $HESTIA/conf/hestia.conf
82-
echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
81+
$BIN/v-change-sys-config-value 'RELEASE_BRANCH' 'release'
8382
fi
8483

8584
#####################################################################

0 commit comments

Comments
 (0)