Skip to content

Commit

Permalink
Fallback when cannot use deb822 format
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Dec 22, 2024
1 parent c8e5b41 commit a1090a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/remote-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOFLIST > /etc/apt/sources.list.d/gns3.list
Expand Down

0 comments on commit a1090a3

Please sign in to comment.