diff options
author | enolp <enolp@softastur.org> | 2021-04-27 20:40:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 22:40:13 +0200 |
commit | b7855925e65a2874dd5c20fb36b7d542bb0b546f (patch) | |
tree | 6f32df12136e2fc1a852799964a0f8c6f8907915 | |
parent | 7be2cf9fb41390226b199342210162842e190eba (diff) |
Remove unneeded packages on Arch Linux (#225)
-rw-r--r-- | wireguard-install.sh | 9 |
1 files changed, 1 insertions, 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) |