postflight script not running
postflight script not running
- Subject: postflight script not running
- From: John Nairn <email@hidden>
- Date: Sun, 5 Apr 2009 12:42:11 -0700
I cannot get my app installation to run a postflight script.
1. The script runs fine in terminal app and exits with 0
2. I put it in my install package (at path Scripts/postflight) and
choose that file in the Scripts panel in the postflight field
3. The script is in the built package (when I show its contents it is
in the Resources folder)
4. The install proceeds without warning or error (and even displays a
brief message on running installer script)
5. The script does not run (as judged by its function not getting done
and by none of the "echo" lines appearing in console or installer.log)
6. I am using PackageMaker 3.0.3
For reference, the script is short and given below. It is just
removing some preferences I want to change when people upgrade. The
echo line never outputs anyplace and the defaults command never
deletes anything.
#!/bin/bash
echo "GEDitCOM II - reset to default index column settings"
defaults delete com.geditcom.GEDitCOMII "Index Column Settings"
echo "GEDitCOM II - reset to default browser window toolbar"
defaults delete com.geditcom.GEDitCOMII "NSToolbar Configuration
browserToolBar"
exit 0
------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac
_______________________________________________
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