Update deps.sh - separates debian 11 and 12 in the if since they have different dependencies

This commit is contained in:
Alexander Bejarano 2024-10-28 16:00:04 +01:00 committed by GitHub
parent 6dac3cd878
commit a632c12bfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,9 @@ if [[ -f "/etc/os-release" ]]; then
#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
elif [[ "${ID}" == "debian" && "${VERSION_CODENAME}" == "bookworm" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
elif [[ "${ID}" == "debian" && "${VERSION_CODENAME}" == "bullseye" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
fi
fi