aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-profile-utils.c')
-rw-r--r--lib/ephy-profile-utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index 829d68925..58abfff61 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -51,6 +51,14 @@ ephy_profile_utils_get_migration_version ()
if (result != 1)
latest = 0;
+ } else if (ephy_dot_dir_is_default () == FALSE) {
+ /* Since version 8, we need to migrate also profile directories
+ other than the default one. Profiles in such directories work
+ perfectly fine without going through the first 7 migration
+ steps, so it is safe to assume that any non-default profile
+ directory without a migration file can be migrated starting
+ from the step 8. */
+ latest = 7;
}
g_free (migrated_file);