adapt to wget2

This commit is contained in:
Ondrej Mejzlik 2024-03-25 14:31:43 +01:00
commit 8fb5e33be2

View file

@ -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
FtpdConf="/etc/vsftpd/vsftpd.conf"
FtpUrl="ftp://localhost/pub/wget/"
@ -40,7 +43,7 @@ FileCount="7"
rlJournalStart
# set up
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlAssertRpm $PACKAGES
rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory"
if rlIsRHEL '<=7.3'; then
#booblean was removed since RHEL 7.3