Remove unused variables

This commit is contained in:
mollusk 2021-10-17 10:50:20 -07:00
parent c82ab68762
commit ff60ec22e5

View File

@ -3,18 +3,15 @@
pkgname="rtlwifi" pkgname="rtlwifi"
pkgurl="https://github.com/cilynx/rtl88x2bu.git" 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" tmpdir="/tmp"
_fetch_deps(){ _fetch_deps(){
if [ -f /usr/bin/apt ];then 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 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 else
echo "No supported package manager" echo "No supported package manager"
fi fi