From b7855925e65a2874dd5c20fb36b7d542bb0b546f Mon Sep 17 00:00:00 2001 From: enolp Date: Tue, 27 Apr 2021 20:40:13 +0000 Subject: [PATCH] Remove unneeded packages on Arch Linux (#225) --- wireguard-install.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 779246c..32c3451 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -148,14 +148,7 @@ function installWireGuard() { fi yum -y install kmod-wireguard wireguard-tools iptables qrencode elif [[ ${OS} == 'arch' ]]; then - # Check if current running kernel is LTS - ARCH_KERNEL_RELEASE=$(uname -r) - if [[ ${ARCH_KERNEL_RELEASE} == *lts* ]]; then - pacman -S --needed --noconfirm linux-lts-headers - else - pacman -S --needed --noconfirm linux-headers - fi - pacman -S --needed --noconfirm wireguard-tools iptables qrencode + pacman -S --needed --noconfirm wireguard-tools qrencode fi # Make sure the directory exists (this does not seem the be the case on fedora)