Iceberg installation fails when using scripts
Iceberg installation fails when using scripts
- Subject: Iceberg installation fails when using scripts
- From: Beatrix Willius <email@hidden>
- Date: Sat, 11 Aug 2012 15:44:12 +0200
Hi,
taking first steps with Iceberg I have a problem:
As soon as I add a script (both preflight and postflight) to my installer then I get the error message "Installation failed" when trying to install the package.
Where can I get information why the installation failed?
The scripts themselves are quite simple:
Postflight:
#/bin/sh
theschedule=`defaults read com.mothsoftware.mailarchiverx Schedule_TimeFrame`
thevalue='No Schedule'
if [ "$theschedule"=="$thevalue" ]; then echo ''; else open /Applications/Mail\ Archiver\ X/Mail\ Archiver\ X.app/Contents/Mail\ Archiver\ Scheduler.app; fi
Preflight:
#/bin/sh
thepid=`ps ux | awk '/Mail Archiver Scheduler/ && !/awk/ {print $2}'`
kill $thepid
I'm also a newbie in shell programming. The scripts themselves work. But do I need to do something special to the scripts? These are just text files that I gave execute permission.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden