Skip to content

Commit 144b58f

Browse files
committed
Merge pull request hestiacp#297 from devsli/master
Fix messages
2 parents 273c9f9 + c1195d1 commit 144b58f

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

install/vst-install-debian.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ help() {
2626
-f, --force Force installation
2727
-i, --disable-iptables Disable iptables support
2828
-b, --disable-fail2ban Disable fail2ban protection
29-
-n, --noupdate Do not run yum update command
29+
-n, --noupdate Do not run apt-get upgrade command
3030
-s, --hostname Set server hostname
3131
-e, --email Set email address
3232
-p, --password Set admin password instead of generating it
@@ -78,7 +78,7 @@ while getopts "hfibdnqe:m:p:s:" Option; do
7878
f) force='yes' ;; # Force install
7979
i) disable_iptables='yes' ;; # Disable iptables
8080
b) disable_fail2ban='yes' ;; # Disable fail2ban
81-
n) noupdate='yes' ;; # Disable yum update
81+
n) noupdate='yes' ;; # Disable apt-get upgrade
8282
s) servername=$OPTARG ;; # Server hostname
8383
e) email=$OPTARG ;; # Set email
8484
p) vpass=$OPTARG ;; # Admin password
@@ -126,11 +126,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" != 'yes' ]; then
126126
exit 1
127127
fi
128128

129-
# Check admin user account
129+
# Check admin group
130130
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ "$force" != 'yes' ]; then
131-
echo "Error: user admin exists"
131+
echo "Error: group admin exists"
132132
echo
133-
echo 'Please remove admin user account before proceeding.'
133+
echo 'Please remove admin group before proceeding.'
134134
echo 'If you want to do it automatically run installer with -f option:'
135135
echo "Example: bash $0 --force"
136136
exit 1

install/vst-install-rhel.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" != 'yes' ]; then
124124
exit 1
125125
fi
126126

127-
# Check admin user account
127+
# Check admin group
128128
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ "$force" != 'yes' ]; then
129-
echo "Error: user admin exists"
129+
echo "Error: group admin exists"
130130
echo
131-
echo 'Please remove admin user account before proceeding.'
131+
echo 'Please remove admin group before proceeding.'
132132
echo 'If you want to do it automatically run installer with -f option:'
133133
echo "Example: bash $0 --force"
134134
exit 1

install/vst-install-ubuntu.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ help() {
2525
-f, --force Force installation
2626
-i, --disable-iptables Disable iptables support
2727
-b, --disable-fail2ban Disable fail2ban protection
28-
-n, --noupdate Do not run yum update command
28+
-n, --noupdate Do not run apt-get upgrade command
2929
-s, --hostname Set server hostname
3030
-e, --email Set email address
3131
-p, --password Set admin password instead of generating it
@@ -77,7 +77,7 @@ while getopts "hfibdnqe:m:p:s:" Option; do
7777
f) force='yes' ;; # Force install
7878
i) disable_iptables='yes' ;; # Disable iptables
7979
b) disable_fail2ban='yes' ;; # Disable fail2ban
80-
n) noupdate='yes' ;; # Disable yum update
80+
n) noupdate='yes' ;; # Disable apt-get upgrade
8181
s) servername=$OPTARG ;; # Server hostname
8282
e) email=$OPTARG ;; # Set email
8383
p) vpass=$OPTARG ;; # Admin password
@@ -123,11 +123,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" != 'yes' ]; then
123123
exit 1
124124
fi
125125

126-
# Check admin user account
126+
# Check admin group
127127
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ "$force" != 'yes' ]; then
128-
echo "Error: user admin exists"
128+
echo "Error: group admin exists"
129129
echo
130-
echo 'Please remove admin user account before proceeding.'
130+
echo 'Please remove admin group before proceeding.'
131131
echo 'If you want to do it automatically run installer with -f option:'
132132
echo "Example: bash $0 --force"
133133
exit 1

install/vst-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ -z "$1" ]; then
2727
exit 1
2828
fi
2929

30-
# Check admin user account
30+
# Check admin group
3131
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ -z "$1" ]; then
3232
echo "Error: group admin exists"
3333
echo
34-
echo 'Please remove admin user account before proceeding.'
34+
echo 'Please remove admin group before proceeding.'
3535
echo 'If you want to do it automatically run installer with -f option:'
3636
echo "Example: bash $0 --force"
3737
exit 1

0 commit comments

Comments
 (0)