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
Pipeline #7254 passed with stage
in 22 seconds
......@@ -41,16 +41,9 @@ echo "[ Installing build dependencies ]"
case "$ICINGA_BUILD_OS" in
opensuse*|sles)
(
if ! requires="$(rpm -qpR "${source_rpm}")"; then
echo "Could not lookup requires in source RPM!" >&2
exit 1
fi
echo "Found required: $requires"
if [ -n "$requires" ]; then
set -ex
run-retry-timeout sudo zypper --non-interactive install
fi
set -ex
# shellcheck disable=SC2046
run-retry-timeout sudo zypper --non-interactive install $(rpm -qpR "${source_rpm}")
)
;;
*)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment