Skip to content

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

+1-2
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)