Iceberg installation fails when using scripts
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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Beatrix Willius