reverse_dependencies_install/aruba_install: $PACKAGE is not needed.

This commit is contained in:
Jarek Prokop 2024-07-15 15:09:16 +02:00
commit 466439e862

View file

@ -1,23 +1,4 @@
#!/bin/sh -eux
PACKAGE=${PACKAGE:-}
[ -n "$PACKAGE" ] || {
echo "env variable \$PACKAGE not specified, specify what package are we testing."
exit 1
}
present=$(rpm -qa $PACKAGE)
# We assume dnf install privileges
dnf install -y --no-allow-downgrade rubygem-aruba
after_install=$(rpm -qa $PACKAGE)
[ "$present" = "$after_install" ] || {
echo "Mismatch of $PACKAGE NVR after installing cucumber."
echo "BEFORE --> $present"
echo "AFTER --> $after_install"
exit 1
}