From a632c12bfb485b4559225b53efa5493a87dbfd13 Mon Sep 17 00:00:00 2001 From: Alexander Bejarano Date: Mon, 28 Oct 2024 16:00:04 +0100 Subject: [PATCH] Update deps.sh - separates debian 11 and 12 in the if since they have different dependencies --- deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deps.sh b/deps.sh index 78c6ce5..471796d 100755 --- a/deps.sh +++ b/deps.sh @@ -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