Merge pull request #66 from Sipper1236/main

added nobara support
pull/68/head
Matthew Clark 5 months ago committed by GitHub
commit aed62c0146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,6 +84,12 @@ elif [[ -e /etc/fedora-release ]]; then
pkgmgr="yum"
install_arg="install"
update_arg="update"
elif [[ -e /etc/nobara ]]; then
colEcho $redB "gaming moment"
os="fedora"
pkgmgr="yum"
install_arg="install"
update_arg="update"
elif [[ -e /etc/arch-release ]]; then
os="arch"
pkgmgr="pacman"
@ -113,6 +119,8 @@ if ! [ $(which 7z 2>/dev/null) ]; then
sudo $pkgmgr $install_arg p7zip
elif [[ -e /etc/fedora-release ]]; then
sudo $pkgmgr $install_arg p7zip-full p7zip-plugins
elif [[ -e /etc/nobara ]]; then
sudo $pkgmgr $install_arg p7zip-full p7zip-plugins
elif [ "$os" == "centos" ]; then
sudo $pkgmgr $install_arg p7zip p7zip-plugins
else

Loading…
Cancel
Save