From 400eee5ca4ad5d0f033dd6a0abb9ce3611230109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 22 Jul 2010 20:41:58 +0000 Subject: [PATCH] Progress starts at 0.0 :) Use a 30s timeout in between, so it stays displayed even in qemu where things are a bit slow. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37702 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- data/common/boot/post_install/mime_update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/common/boot/post_install/mime_update.sh b/data/common/boot/post_install/mime_update.sh index 0f60707423..fb8e137dcf 100755 --- a/data/common/boot/post_install/mime_update.sh +++ b/data/common/boot/post_install/mime_update.sh @@ -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 @@ _progress 0.7 "application (by signature)" query -f 'BEOS:APP_SIG=*' | xargs --no-run-if-empty mimeset -apps -f -_progress 1.0 "done" +_progress 1.0 "done" 10