From ff60ec22e52b9d46674cd5a6efdbab323a6ade8a Mon Sep 17 00:00:00 2001 From: mollusk Date: Sun, 17 Oct 2021 10:50:20 -0700 Subject: [PATCH] Remove unused variables --- rtlwifi-setup.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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