software-properties: add reference to aramo codename

This commit is contained in:
Ruben Rodriguez 2022-12-23 13:54:29 -05:00
parent 3e42626ecc
commit ad7d4a4d9e

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2022 Luis Guzman <ark@switnet.org> # Copyright (C) 2022 Luis Guzman <ark@switnet.org>
# Copyright (C) 2011-2020 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2011-2022 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2019 Mason Hock <mason@masonhock.com> # Copyright (C) 2019 Mason Hock <mason@masonhock.com>
# Copyright (C) 2011 Carlos Pais <freemind@lavabit.com> # Copyright (C) 2011 Carlos Pais <freemind@lavabit.com>
# #
@ -20,20 +20,21 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=8 VERSION=9
. ./config . ./config
cat << EOF | patch -p1 cat << EOF | patch -p1
--- source.orig/softwareproperties/SoftwareProperties.py 2014-04-14 17:10:58.000000000 +0200 --- source.orig/softwareproperties/SoftwareProperties.py 2014-04-14 17:10:58.000000000 +0200
+++ source/softwareproperties/SoftwareProperties.py 2014-05-18 03:02:05.309290804 +0200 +++ source/softwareproperties/SoftwareProperties.py 2014-05-18 03:02:05.309290804 +0200
@@ -722,8 +746,18 @@ @@ -722,8 +746,19 @@
site is in whitelist or the shortcut implementer adds it. site is in whitelist or the shortcut implementer adds it.
""" """
- deb_line = shortcut.SourceEntry().line - deb_line = shortcut.SourceEntry().line
- file = shortcut.sourceparts_file - file = shortcut.sourceparts_file
+ codenames = {} + codenames = {}
+ codenames["aramo"] = "jammy"
+ codenames["nabia"] = "focal" + codenames["nabia"] = "focal"
+ codenames["etiona"] = "bionic" + codenames["etiona"] = "bionic"
+ codenames["flidas"] = "xenial" + codenames["flidas"] = "xenial"