Quotes
This commit is contained in:
parent
1d568eecea
commit
52ca718a4b
|
@ -59,7 +59,7 @@ SERVER_DIRECTORY=/root/remotebackup
|
||||||
GO_VERSION=$(grep 'GO_VERSION=' "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-go" | head -n 1 | awk -F '=' '{print $2}')
|
GO_VERSION=$(grep 'GO_VERSION=' "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-go" | head -n 1 | awk -F '=' '{print $2}')
|
||||||
|
|
||||||
ADMIN_USERNAME=$(get_completion_param "Admin user")
|
ADMIN_USERNAME=$(get_completion_param "Admin user")
|
||||||
ADMIN_NAME=$(getent passwd $ADMIN_USERNAME | cut -d: -f5 | cut -d, -f1)
|
ADMIN_NAME=$(getent passwd "$ADMIN_USERNAME" | cut -d: -f5 | cut -d, -f1)
|
||||||
ADMIN_EMAIL_ADDRESS=${ADMIN_USERNAME}@${HOSTNAME}
|
ADMIN_EMAIL_ADDRESS=${ADMIN_USERNAME}@${HOSTNAME}
|
||||||
if [ ! -f /etc/ssl/private/backup.key ]; then
|
if [ ! -f /etc/ssl/private/backup.key ]; then
|
||||||
echo $"Creating backup key"
|
echo $"Creating backup key"
|
||||||
|
|
Loading…
Reference in New Issue