From a1090a3da8f966e10be0798ed76be117fb7c0acb Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 22 Dec 2024 21:52:18 +0700 Subject: [PATCH] Fallback when cannot use deb822 format --- scripts/remote-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remote-install.sh b/scripts/remote-install.sh index 6c87e69e..4da8b98a 100644 --- a/scripts/remote-install.sh +++ b/scripts/remote-install.sh @@ -110,7 +110,7 @@ UBUNTU_CODENAME=`lsb_release -c -s` log "Add GNS3 repository" -if [ -f "/etc/apt/sources.list" ] +if [ ! -f "/etc/apt/sources.list.d/ubuntu.sources" ] then apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B83AAABFFBD82D21B543C8EA86C22C2EC6A24D7F cat < /etc/apt/sources.list.d/gns3.list