Skip to content

Commit 93d05d2

Browse files
author
Kristan Kenney
committed
Update output design of upgrade script
1 parent a221d1b commit 93d05d2

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

install/upgrade/0.9.8-29.sh

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
32
# define vars
43
HESTIA="/usr/local/hestia"
54
HESTIA_BACKUP="/root/hst_upgrade/$(date +%d%m%Y%H%M)"
@@ -19,7 +18,23 @@ source /usr/local/hestia/func/main.sh
1918
mkdir -p $HESTIA_BACKUP/templates/
2019
mkdir -p $HESTIA_BACKUP/packages/
2120

22-
echo "(*) Upgrading to Hestia Control Panel v$VERSION..."
21+
# Clear the screen from apt output to prepare for upgrade installer experience
22+
clear
23+
echo
24+
echo ' _ _ _ _ ____ ____ '
25+
echo ' | | | | ___ ___| |_(_) __ _ / ___| _ \ '
26+
echo ' | |_| |/ _ \/ __| __| |/ _` | | | |_) |'
27+
echo ' | _ | __/\__ \ |_| | (_| | |___| __/ '
28+
echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
29+
echo
30+
echo ' Hestia Control Panel'
31+
echo -e "\n\n"
32+
echo "Upgrading to Hestia Control Panel v$VERSION..."
33+
echo "==================================================="
34+
echo ""
35+
echo "This process may take a few minutes, please wait..."
36+
echo ""
37+
echo ""
2338

2439
# Update Apache and NGINX configuration to support new file structure
2540
if [ -f /etc/apache2/apache.conf ]; then

0 commit comments

Comments
 (0)