diff --git a/src/yunohost/data_migrations/0015_migrate_to_buster.py b/src/yunohost/data_migrations/0015_migrate_to_buster.py index 0e18d2b44..b56e8322c 100644 --- a/src/yunohost/data_migrations/0015_migrate_to_buster.py +++ b/src/yunohost/data_migrations/0015_migrate_to_buster.py @@ -154,12 +154,10 @@ class MyMigration(Migration): # This : # - replace single 'stretch' occurence by 'buster' # - comments lines containing "backports" - # - comments lines containing "sury" # - replace 'stretch/updates' by 'strech/updates' (or same with -) for f in sources_list: command = "sed -i -e 's@ stretch @ buster @g' " \ "-e '/backports/ s@^#*@#@' " \ - "-e '/sury/ s@^#*@#@' " \ "-e 's@ stretch/updates @ buster/updates @g' " \ "-e 's@ stretch-updates @ buster-updates @g' " \ "{}".format(f)