diff --git a/rtlwifi-setup.sh b/rtlwifi-setup.sh index ae6fc04..5007149 100755 --- a/rtlwifi-setup.sh +++ b/rtlwifi-setup.sh @@ -3,18 +3,15 @@ pkgname="rtlwifi" pkgurl="https://github.com/cilynx/rtl88x2bu.git" -installcmd="dnf install" -installcmdextra="dnf group install" -pkgdeps="wget unzip dnsmasq hostapd bc dkms kernel-headers rsync" -pkgdepsextra='"Development Tools"' tmpdir="/tmp" _fetch_deps(){ if [ -f /usr/bin/apt ];then - apt install git dnsmasq hostapd bc build-essential dkms + apt install git dnsmasq hostapd bc build-essential dkms wget unzip rsync elif [ -f /usr/bin/dnf ];then - dnf install unzip dnsmasq hostapd bc dkms kernel-headers rsync + dnf group install "Development Tools" + dnf install unzip dnsmasq hostapd bc dkms kernel-headers rsync wget else echo "No supported package manager" fi