Closed konimex closed 11 months ago
On fedora 38 at least there is no p7zip-full package, the correct name is just p7zip. So to line 43 is supposed to be:
"yum") sudo $pkgmgr $install_arg p7zip p7zip-plugins ;;
Other wise the installs fails.
Should be fixed.
As an aside, I personally would prefer to use libarchive
(or, in some repos, libarchive-tools
or even bsdtar
) instead of p7zip
. It supports 7zip format while keeping the tar commands, and in some cases would be pre-installed already.
The commits should improve overall compatibility with various Linux distributions which use the same package managers (and ultimately, the same repos, such as Debian/Ubuntu-based, Arch-based, and Fedora/RedHat-based distros).