fix system packages not working. MountInitialFilesystems should mount USER_PACKAGES_DIR, and let PACKAGES_DIR be supplied by the program directory mount

This commit is contained in:
Chris Danford
2009-04-11 19:23:41 +00:00
parent 004df80bf6
commit af6c1f3911
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1001,7 +1001,8 @@ int main(int argc, char* argv[])
FILEMAN->Mount( "dir", dirs[i], "/AdditionalCourses" );
}
MountTreeOfZips( SpecialFiles::SYSTEM_PACKAGES_DIR );
MountTreeOfZips( SpecialFiles::PACKAGES_DIR );
MountTreeOfZips( SpecialFiles::USER_PACKAGES_DIR );
/* One of the above filesystems might contain files that affect preferences, eg Data/Static.ini.
* Re-read preferences. */