wireguird/deps.sh
2023-10-01 13:41:07 +02:00

15 lines
661 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}" == "linuxmint" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
fi
fi