Skip to content

Commit b580819

Browse files
author
Kristan Kenney
committed
Add v1.3.4 upgrade script to main branch
1 parent 7df6c30 commit b580819

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

install/upgrade/versions/1.3.4.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.3.4
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
9+
echo '[ * ] Updating System Administrator account permissions...'
10+
$HESTIA/bin/v-change-user-role admin admin
11+
12+
# Send end-of-life notification to admin user on servers running Ubuntu 16.04
13+
if [ "$OS_TYPE" = "Ubuntu" ]; then
14+
if [ "$OS_VERSION" = '16.04' ]; then
15+
$HESTIA/bin/v-add-user-notification admin 'IMPORTANT: End of support for Ubuntu 16.04 LTS' '<b>Hestia Control Panel no longer supports Ubuntu 16.04 LTS</b>, as a result your server will no longer receive upgrades or security patches after <b>v1.3.4</b>.<br><br>Please upgrade to a supported operating system.'
16+
fi
17+
fi

0 commit comments

Comments
 (0)