File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,20 @@ function version_ge(){ test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1
66# Set new version number
77NEW_VERSION=" 1.0.1"
88
9-
10-
119# Load hestia.conf
1210source /usr/local/hestia/conf/hestia.conf
1311
1412# #######################################################################################################
1513# ###### Place additional commands below. #######
1614# #######################################################################################################
1715
16+ # Ensure that users from previous releases are set to the correct stable release branch
17+ if [ $RELEASE_BRANCH = " master" ] || [ $RELEASE_BRANCH = " develop" ]; then
18+ echo " (*) Updating default release branch configuration..."
19+ sed -i " /RELEASE_BRANCH/d" $HESTIA /conf/hestia.conf
20+ echo " RELEASE_BRANCH='release'" >> $HESTIA /conf/hestia.conf
21+ fi
22+
1823# Add amd64 to repositories to prevent notifications - https://goo.gl/hmsSV7
1924if ! grep -q ' arch=amd64' /etc/apt/sources.list.d/nginx.list; then
2025 sed -i s/" deb " /" deb [arch=amd64] " /g /etc/apt/sources.list.d/nginx.list
You can’t perform that action at this time.
0 commit comments