mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
postinstall: migrate_to_bullseye should be skipped on bullseye
This commit is contained in:
parent
83dfc0590d
commit
de6844250f
1 changed files with 0 additions and 4 deletions
|
@ -930,10 +930,6 @@ def _skip_all_migrations():
|
||||||
all_migrations = _get_migrations_list()
|
all_migrations = _get_migrations_list()
|
||||||
new_states = {"migrations": {}}
|
new_states = {"migrations": {}}
|
||||||
for migration in all_migrations:
|
for migration in all_migrations:
|
||||||
# Don't skip bullseye migration while we're
|
|
||||||
# still on buster
|
|
||||||
if "migrate_to_bullseye" in migration.id:
|
|
||||||
continue
|
|
||||||
new_states["migrations"][migration.id] = "skipped"
|
new_states["migrations"][migration.id] = "skipped"
|
||||||
write_to_yaml(MIGRATIONS_STATE_PATH, new_states)
|
write_to_yaml(MIGRATIONS_STATE_PATH, new_states)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue