However, when adding the SoftMaker repo using script /usr/share/freeoffice2018/add_rpm_repo.sh an error occurred:
Code: Select all
$ sudo /usr/share/freeoffice2018/add_rpm_repo.sh
Adding the SoftMaker repository to keep SoftMaker Office up to date...
Importing the key for the SoftMaker repository...
/usr/share/freeoffice2018/add_rpm_repo.sh: line 63: dnf: command not found
All done!
Code: Select all
rpmkeys --import $APPPATH/softmaker.repository.gpg
DNF=$(which yum 2>/dev/null)
if [ "M$DNF" != "M" ] ; then
dnf -q makecache -y --disablerepo=* --enablerepo=SoftMaker_Office_Repository
else
YUM=$(which yum 2>/dev/null)
if [ "M$YUM" != "M" ] ; then
yum -q makecache -y --disablerepo=* --enablerepo=SoftMaker_Office_Repository
fi
fi
Code: Select all
DNF=$(which dnf 2>/dev/null)
Please fix for the next release.