adapt to wget2
This commit is contained in:
parent
43f050be65
commit
af82a71c3f
1 changed files with 5 additions and 2 deletions
|
|
@ -29,7 +29,10 @@
|
|||
# Include rhts environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="wget"
|
||||
PACKAGES='wget'
|
||||
if rlIsFedora '>= 40'; then
|
||||
PACKAGES="wget2"
|
||||
fi
|
||||
|
||||
WwwRoot="/var/www/html"
|
||||
WwwUrl="http://localhost/wget/"
|
||||
|
|
@ -54,7 +57,7 @@ dirLevel() {
|
|||
rlJournalStart
|
||||
# set up
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
rlAssertRpm $PACKAGES
|
||||
rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory"
|
||||
if rlIsRHEL '>=8' || rlIsFedora || rlIsCentOS; then
|
||||
# This annonymous login is NO by default in rhel8, but we need it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue