Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
98c0713a
Commit
98c0713a
authored
Mar 28, 2021
by
mattip
Browse files
fix fix fix
parent
f012755f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
common_utils.sh
common_utils.sh
+4
-2
No files found.
common_utils.sh
View file @
98c0713a
...
@@ -205,10 +205,12 @@ function untar {
...
@@ -205,10 +205,12 @@ function untar {
}
}
function install_rsync {
function install_rsync {
if [ -
z
"
$IS_MACOS
" ]; then
if [ -
n
"
$IS_MACOS
" ]; then
[[
$(
type
-P
rsync
)
]] || yum_install rsync
# macOS
elif [[
$MB_ML_VER
== "
_2_24
" ]]; then
elif [[
$MB_ML_VER
== "
_2_24
" ]]; then
[[
$(
type
-P
rsync
)
]] || apt-get install -y rsync
[[
$(
type
-P
rsync
)
]] || apt-get install -y rsync
else
[[
$(
type
-P
rsync
)
]] || yum_install rsync
fi
fi
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment