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

13 lines
349 B
Bash
Executable File

if [[ -f "/etc/os-release" ]]; then
source "/etc/os-release"
if [[ "${ID}" == "fedora" ]]; then
echo "not supported yet"
#sudo rpm
elif [[ "${ID}" == "ubuntu" ]]; then
sudo dpkg -i ./build/wireguird_amd64.deb
elif [[ "${ID}" == "linuxmint" ]]; then
sudo dpkg -i ./build/wireguird_amd64.deb
fi
fi