From 0566c7b352b66c61ec6d442a7eb9f01afe3f9356 Mon Sep 17 00:00:00 2001 From: shatty Date: Mon, 18 Oct 2004 02:27:27 +0000 Subject: [PATCH] quit taskbar closer to install and restart after install git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9386 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/mail/install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/servers/mail/install.sh b/src/servers/mail/install.sh index 8a33745b39..1115d9e70a 100755 --- a/src/servers/mail/install.sh +++ b/src/servers/mail/install.sh @@ -29,17 +29,20 @@ fi fi -quit "application/x-vnd.Be-POST" -quit "application/x-vnd.Be-TSKB" - if [ -n "$TTY" ] then + quit "application/x-vnd.Be-POST" + quit "application/x-vnd.Be-TSKB" unzip -d / install.zip + /boot/beos/system/Deskbar > /dev/null & else response=`alert "Would you like to automatically overwrite existing files, or receive a prompt?" "Overwrite" "Prompt"` if [ $response == "Overwrite" ] then + quit "application/x-vnd.Be-POST" + quit "application/x-vnd.Be-TSKB" unzip -od / install.zip + /boot/beos/system/Deskbar > /dev/null & alert "Finished installing" "Thanks" else if [ -e /boot/beos/apps/Terminal ]