File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ date=$(date +"%d%m%y-%H%M%S")
51
51
fi
52
52
53
53
csf_installer_url=https://github.com/tmiland/csf/raw/master/csf_installer.sh
54
- csf_args=${*:- " -i" }
55
- shift
56
54
install_csf () {
55
+ csf_args=${*:- " -i" }
56
+ shift
57
57
if [[ $( command -v ' curl' ) ]]; then
58
58
set -- $csf_args
59
59
# shellcheck disable=SC1090
@@ -69,9 +69,9 @@ install_csf() {
69
69
}
70
70
71
71
virtualmin_installer_url=https://github.com/virtualmin/virtualmin-install/raw/master/virtualmin-install.sh
72
- virtualmin_args=${*:- " --minimal --bundle LEMP" }
73
- shift
74
72
install_virtualmin () {
73
+ virtualmin_args=${*:- " --minimal --bundle LEMP" }
74
+ shift
75
75
if [[ $( command -v ' curl' ) ]]; then
76
76
set -- $virtualmin_args
77
77
# shellcheck disable=SC1090
@@ -97,7 +97,7 @@ if [[ ! -f /usr/sbin/virtualmin ]]; then
97
97
case $install_virtualmin in
98
98
[Yy]* )
99
99
install_virtualmin
100
- shift
100
+ break
101
101
;;
102
102
[Nn]* )
103
103
break
@@ -114,7 +114,7 @@ elif [[ ! -f /usr/sbin/csf ]]; then
114
114
case $install_csf in
115
115
[Yy]* )
116
116
install_csf
117
- shift
117
+ break
118
118
;;
119
119
[Nn]* )
120
120
break
You can’t perform that action at this time.
0 commit comments