Fallback when cannot use deb822 format

This commit is contained in:
grossmj 2024-12-22 21:52:18 +07:00
parent c8e5b41f39
commit a1090a3da8
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -110,7 +110,7 @@ UBUNTU_CODENAME=`lsb_release -c -s`
log "Add GNS3 repository" log "Add GNS3 repository"
if [ -f "/etc/apt/sources.list" ] if [ ! -f "/etc/apt/sources.list.d/ubuntu.sources" ]
then then
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B83AAABFFBD82D21B543C8EA86C22C2EC6A24D7F apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B83AAABFFBD82D21B543C8EA86C22C2EC6A24D7F
cat <<EOFLIST > /etc/apt/sources.list.d/gns3.list cat <<EOFLIST > /etc/apt/sources.list.d/gns3.list