Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
abs
Commits
cf4b38b7
Commit
cf4b38b7
authored
Dec 27, 2010
by
Allan McRae
Browse files
Reset return value after failure to download tarball
Fixes FS#22181. Signed-off-by:
Allan McRae
<
allan@archlinux.org
>
parent
568c7fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
abs
View file @
cf4b38b7
...
...
@@ -160,8 +160,9 @@ update_tarball() {
if
[
"
$repo
"
==
"
${
repo
#!
}
"
]
;
then
echo
" ==>
${
repo
}
..."
ret
=
0
local
ret
for
mirror
in
${
mirrorlist
[@]
}
;
do
ret
=
0
tarball
=
$(
echo
$mirror
|
sed
"s#
\$
repo#
$repo
#;s#
\$
arch#
$ARCH
#"
)
tarball
=
"
${
tarball
}
/
${
repo
}
.abs.tar.gz"
protocol
=
$(
echo
$tarball
|
cut
-f1
-d
":"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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