Skip to content
Snippets Groups Projects
Commit 503370c9 authored by Markus Frosch's avatar Markus Frosch
Browse files

Revert "rpm: Fix requirements installation on SUSE"

This reverts commit 02c6a2ca.
parent 02c6a2ca
No related branches found
No related tags found
No related merge requests found
Pipeline #7254 passed
...@@ -41,16 +41,9 @@ echo "[ Installing build dependencies ]" ...@@ -41,16 +41,9 @@ echo "[ Installing build dependencies ]"
case "$ICINGA_BUILD_OS" in case "$ICINGA_BUILD_OS" in
opensuse*|sles) opensuse*|sles)
( (
if ! requires="$(rpm -qpR "${source_rpm}")"; then set -ex
echo "Could not lookup requires in source RPM!" >&2 # shellcheck disable=SC2046
exit 1 run-retry-timeout sudo zypper --non-interactive install $(rpm -qpR "${source_rpm}")
fi
echo "Found required: $requires"
if [ -n "$requires" ]; then
set -ex
run-retry-timeout sudo zypper --non-interactive install
fi
) )
;; ;;
*) *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment