aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1b0ee73f..12f057a1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -739,6 +739,9 @@ static void migrate_old_config(void)
if (is_file_exist(OLD_RC_DIR G_DIR_SEPARATOR_S FOLDER_LIST))
copy_file(OLD_RC_DIR G_DIR_SEPARATOR_S FOLDER_LIST,
RC_DIR G_DIR_SEPARATOR_S FOLDER_LIST, FALSE);
+ if (is_file_exist(OLD_RC_DIR G_DIR_SEPARATOR_S "mime.types"))
+ copy_file(OLD_RC_DIR G_DIR_SEPARATOR_S "mime.types",
+ RC_DIR G_DIR_SEPARATOR_S "mime.types", FALSE);
if (is_dir_exist(OLD_RC_DIR G_DIR_SEPARATOR_S TEMPLATE_DIR))
conv_copy_dir(OLD_RC_DIR G_DIR_SEPARATOR_S TEMPLATE_DIR,