reverse_dependencies_install/aruba_install: $PACKAGE is not needed.
This commit is contained in:
parent
b5c74d5068
commit
466439e862
1 changed files with 0 additions and 19 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue