Skip to content

Commit 740a5b0

Browse files
author
Kristan Kenney
committed
Fix environment variables in upgrade script
1 parent e68c32b commit 740a5b0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install/upgrade/1.00.0-190618.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/bash
22

3-
# Define vars
4-
if [ -z "$HESTIA" ]; then
5-
export HESTIA="/usr/local/hestia"
6-
fi
3+
# Define variables
4+
export HESTIA="/usr/local/hestia"
5+
export BIN="/usr/local/hestia/bin"
76
HESTIA_BACKUP="/root/hst_upgrade/$(date +%d%m%Y%H%M)"
87
hestiacp="$HESTIA/install/deb"
8+
9+
# Set phpMyAdmin version for upgrade
910
pma_v='4.9.0.1'
1011

1112
# Add amd64 to repositories to prevent notifications - https://goo.gl/hmsSV7

0 commit comments

Comments
 (0)