Get metadata migration working again when upgrading from 2.6 to 3.1

Due to a typo the old GNC_DOT_DIR path was wrong
($HOME.gnucash instead of $HOME/.gnucash)
This commit is contained in:
Geert Janssens
2018-04-30 20:59:25 +02:00
parent 02266d72d9
commit 0c6b92959a

View File

@@ -585,7 +585,7 @@ static std::string migrate_gnc_datahome()
auto success = false;
// Specify location of dictionaries
bfs::path old_dir(g_get_home_dir(), cvt);
old_dir += ".gnucash";
old_dir /= ".gnucash";
bl::generator gen;
gen.add_messages_path(gnc_path_get_datadir());