mon5termatt / medicat_installer

Medicat Installer Repo
https://medicatusb.com
GNU General Public License v3.0
1.59k stars 120 forks source link

increase compatibility with more Linux distributions #38

Closed konimex closed 11 months ago

konimex commented 1 year ago

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).

konimex commented 1 year 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.