[haiku-commits] r37702 - haiku/trunk/data/common/boot/post_install

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 22 Jul 2010 22:41:58 +0200 (CEST)

Author: mmu_man
Date: 2010-07-22 22:41:58 +0200 (Thu, 22 Jul 2010)
New Revision: 37702
Changeset: http://dev.haiku-os.org/changeset/37702

Modified:
   haiku/trunk/data/common/boot/post_install/mime_update.sh
Log:
Progress starts at 0.0 :)
Use a 30s timeout in between, so it stays displayed even in qemu where things 
are a bit slow.


Modified: haiku/trunk/data/common/boot/post_install/mime_update.sh
===================================================================
--- haiku/trunk/data/common/boot/post_install/mime_update.sh    2010-07-22 
20:35:41 UTC (rev 37701)
+++ haiku/trunk/data/common/boot/post_install/mime_update.sh    2010-07-22 
20:41:58 UTC (rev 37702)
@@ -2,13 +2,14 @@
 
 _progress () {
        notify --type progress --app mimeset \
+       --timeout ${3:-30} \
        --icon /boot/system/apps/DiskProbe \
        --messageID $0_$$ \
        --title "Updating file MIME types..." \
        --progress $1 "$2" >/dev/null
 }
 
-_progress 0.1 "desktop files"
+_progress 0.0 "desktop files"
 
 # Make sure files on the desktop are mimeset first
 
@@ -37,4 +38,4 @@
 
 query -f 'BEOS:APP_SIG=*' | xargs --no-run-if-empty mimeset -apps -f
 
-_progress 1.0 "done"
+_progress 1.0 "done" 10


Other related posts:

  • » [haiku-commits] r37702 - haiku/trunk/data/common/boot/post_install - revol