mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 13:47:40 +00:00
Remove unneeded packages on Arch Linux (#225)
This commit is contained in:
parent
7be2cf9fb4
commit
b7855925e6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user