mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
postinstall: don't skip migrate_to_bullseye migration when installing a fresh buster
This commit is contained in:
parent
fa9365d5fa
commit
e98ba46e4b
1 changed files with 4 additions and 0 deletions
|
@ -1045,6 +1045,10 @@ 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