* The HaikuImage script will put a file "fresh_install" into

/boot/home/config/settings.
* The Bootscript will check for the existance of this file and updates the
  mime database with all the applications and preflets that come with the
  install. Then it removes the indicator file.

This fixes the problem that all the apps are not known to the system until
you run them once. Ie "Open With..." and such stuff works out of the box.
Feel free to find a more elegant way, I just found this simple and effective.
:-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24247 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-03-05 22:25:33 +00:00
parent d00563dfeb
commit 16eb448eb4
3 changed files with 17 additions and 0 deletions
+4
View File
@@ -363,6 +363,10 @@ local bisonFiles = "yacc.c" "c.m4" "c++.m4" ;
SEARCH on $(bisonFiles) = [ FDirName $(HAIKU_TOP) src bin bison data ] ;
AddFilesToHaikuImage beos etc : $(bisonFiles) ;
# fresh install indicator file
SEARCH on <settings>fresh_install = [ FDirName $(HAIKU_TOP) data settings ] ;
AddFilesToHaikuImage home config settings : <settings>fresh_install ;
# boot loader
AddFilesToHaikuImage beos system : zbeos ;