File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,15 @@ 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
- args=${*:- " -i" }
54
+ csf_args=${*:- " -i" }
55
+ shift
55
56
install_csf () {
56
57
if [[ $( command -v ' curl' ) ]]; then
57
- set -- $args
58
+ set -- $csf_args
58
59
# shellcheck disable=SC1090
59
60
source <( curl -sSLf $csf_installer_url )
60
61
elif [[ $( command -v ' wget' ) ]]; then
61
- set -- $args
62
+ set -- $csf_args
62
63
# shellcheck disable=SC1090
63
64
. <( wget -qO - $csf_installer_url )
64
65
else
@@ -68,14 +69,15 @@ install_csf() {
68
69
}
69
70
70
71
virtualmin_installer_url=https://github.com/virtualmin/virtualmin-install/raw/master/virtualmin-install.sh
71
- args=${*:- " --minimal --bundle LEMP" }
72
+ virtualmin_args=${*:- " --minimal --bundle LEMP" }
73
+ shift
72
74
install_virtualmin () {
73
75
if [[ $( command -v ' curl' ) ]]; then
74
- set -- $args
76
+ set -- $virtualmin_args
75
77
# shellcheck disable=SC1090
76
78
source <( curl -sSLf $virtualmin_installer_url )
77
79
elif [[ $( command -v ' wget' ) ]]; then
78
- set -- $args
80
+ set -- $virtualmin_args
79
81
# shellcheck disable=SC1090
80
82
. <( wget -qO - $virtualmin_installer_url )
81
83
else
You can’t perform that action at this time.
0 commit comments