Reactivated the "fresh install" code in the Bootscript, but modified it

a bit:
* Added directory /etc/post_install, which can contain scripts that will
  be executed on the first boot.
* Moved the mimeset invocations to such a script. Use the "-apps"
  option instead of "-all". Since create_app_meta_mime() (and thus
  mimeset) work recursively now, running the commands does actually have
  an effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25309 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-05-04 13:10:42 +00:00
parent 26791a6b96
commit b2c7de8230
4 changed files with 31 additions and 11 deletions
+1
View File
@@ -0,0 +1 @@
This file is only supposed to exist on fresh Haiku installations.
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# Make sure all apps have a MIME DB entry.
mimeset -apps -f /boot/beos/apps
mimeset -apps -f /boot/beos/preferences
mimeset -apps -f /boot/beos/system/servers
mimeset -apps -f /boot/apps