|
@@ -42,9 +42,9 @@ SERVER_DIRECTORY=/root/remotebackup
|
42
|
42
|
|
43
|
43
|
# get the version of Go being used
|
44
|
44
|
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
|
45
|
|
- GO_VERSION=$(cat /usr/local/bin/${PROJECT_NAME} | grep 'GO_VERSION=' | head -n 1 | awk -F '=' '{print $2}')
|
|
45
|
+ GO_VERSION=$(cat /usr/local/bin/${PROJECT_NAME}-utils-go | grep 'GO_VERSION=' | head -n 1 | awk -F '=' '{print $2}')
|
46
|
46
|
else
|
47
|
|
- GO_VERSION=$(cat /usr/bin/${PROJECT_NAME} | grep 'GO_VERSION=' | head -n 1 | awk -F '=' '{print $2}')
|
|
47
|
+ GO_VERSION=$(cat /usr/bin/${PROJECT_NAME}-utils-go | grep 'GO_VERSION=' | head -n 1 | awk -F '=' '{print $2}')
|
48
|
48
|
fi
|
49
|
49
|
|
50
|
50
|
ADMIN_USERNAME=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
|