mirror of
https://github.com/UnnoTed/wireguird
synced 2025-02-05 09:25:29 +00:00
14 lines
643 B
Bash
Executable File
14 lines
643 B
Bash
Executable File
if [[ -f "/etc/os-release" ]]; then
|
|
source "/etc/os-release"
|
|
if [[ "${ID}" == "fedora" ]]; then
|
|
echo "not supported yet"
|
|
#sudo dnf install wireguard-tools gtk3-devel golang resolvconf
|
|
elif [[ "${ID}" == "ubuntu" ]]; then
|
|
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
|
|
elif [[ "${ID}" == "debian" ]]; then
|
|
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
|
|
elif [[ "${ID}" == "void" ]]; then
|
|
sudo xbps-install -S gtk+3-devel wireguard-dkms wireguard-tools libayatana-appindicator-devel go
|
|
fi
|
|
fi
|