Merge pull request #1385 from ioannidesalex/patch-2

Update vst-install.sh
This commit is contained in:
Serghey Rodin 2017-12-28 23:59:42 +02:00 committed by GitHub
commit c647fe1ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
# RHEL 5, 6, 7 # RHEL 5, 6, 7
# CentOS 5, 6, 7 # CentOS 5, 6, 7
# Debian 7, 8 # Debian 7, 8
# Ubuntu 12.04 - 16.04 # Ubuntu 12.04 - 16.10
# #
# Am I root? # Am I root?
@ -21,7 +21,7 @@ fi
if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ -z "$1" ]; then if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ -z "$1" ]; then
echo "Error: user admin exists" echo "Error: user admin exists"
echo echo
echo 'Please remove admin user account before proceeding.' echo 'Please remove admin user before proceeding.'
echo 'If you want to do it automatically run installer with -f option:' echo 'If you want to do it automatically run installer with -f option:'
echo "Example: bash $0 --force" echo "Example: bash $0 --force"
exit 1 exit 1