Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 23ed6b0

Browse files
committed
Return an error if package not found
1 parent a3648d6 commit 23ed6b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎include/bootstrap/fedora/deploy.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ do_install()
8484
for package in ${basic_packages}; do
8585
msg -n "${package} ... "
8686
pkg_url=$(grep -e "^.*/${package}-[0-9r][0-9\.\-].*rpm$" "${pkg_list}" | grep -m1 ${pkg_arch})
87-
test "${pkg_url}"
88-
is_ok "skip" || continue
87+
test "${pkg_url}"; is_ok "fail" || return 1
8988
pkg_file="${pkg_url##*/}"
9089
# download
9190
for i in 1 2 3

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /