Re: Scripts not executed
Re: Scripts not executed
- Subject: Re: Scripts not executed
- From: Stephane Sudre <email@hidden>
- Date: Sun, 24 Mar 2013 10:25:09 -0700
Which script? pre/postflight, post/pre upgrade/install?
According to the log, the preupgrade script is run:
Mar 24 11:03:42 trixis-mac-pro installd[4102]: PackageKit: Executing script
> "./preupgrade" in /Users/beatrixwillius/Documents/ Datei/Development/Mail
> Archiver 3base/code current/Max Installer/build/Mail Archiver
On Sun, Mar 24, 2013 at 3:19 AM, Beatrix Willius <email@hidden> wrote:
> Hi,
>
> the installer for my application still gets a hickup now and then. The
> newest problem is that the scripts aren't executed. I've made sure that
>
> - There is a shebang line.
> - The scripts are set to executable.
> - When I drag the scripts to the Terminal they do what they should.
>
> And still there is nothing done.
>
> The first script isn't very complicated:
>
> #!/bin/sh
> thepid=`ps ux | awk '/Mail Archiver Scheduler/ && !/awk/ {print $2}'`
> if [ $thepid ]; then kill $thepid; else echo 'no schedule set'; fi
>
> After installation the Scheduler app is still running. And this screws up my
> whole application.
>
> Here is the output of running the installer:
>
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: @(#)PROGRAM:Install
> PROJECT:Install-729
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: @(#)PROGRAM:Installer
> PROJECT:Installer-614
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Hardware: MacPro4,1 @ 2.66
> GHz (x 8), 6144 MB RAM
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Running OS Build: Mac OS X
> 10.8 (12A269)
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> TMPDIR=/var/folders/yb/l1kg95s932sgnw_8bl3dd67h0000gr/T/
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env: SHELL=/bin/bash
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> HOME=/Users/beatrixwillius
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env: USER=beatrixwillius
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env: LOGNAME=beatrixwillius
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> SSH_AUTH_SOCK=/tmp/launch-vn2frL/Listeners
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> Apple_Ubiquity_Message=/tmp/launch-Z9lZgd/Apple_Ubiquity_Message
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> Apple_PubSub_Socket_Render=/tmp/launch-vFIwTO/Render
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> DISPLAY=/tmp/launch-VwzjMM/org.macosforge.xquartz:0
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env: COMMAND_MODE=unix2003
> Mar 24 11:03:28 trixis-mac-pro Installer[4094]: Env:
> __CF_USER_TEXT_ENCODING=0x1F8:0:0
> Mar 24 11:03:29 trixis-mac-pro Installer[4094]: Mail Archiver X
> Installation Log
> Mar 24 11:03:29 trixis-mac-pro Installer[4094]: Opened from:
> /Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver 3base/code
> current/Max Installer/build/Mail Archiver X.pkg
> Mar 24 11:03:30 trixis-mac-pro Installer[4094]: Referenced component
> packages (1) trustLevel=100
> Mar 24 11:03:34 trixis-mac-pro installd[4076]: installd: Exiting.
> Mar 24 11:03:35 trixis-mac-pro Installer[4094]: InstallerStatusNotifications
> plugin loaded
> Mar 24 11:03:39 trixis-mac-pro runner[4099]: Administrator authorization
> granted.
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]:
> ================================================================================
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: User picked Standard Install
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Choices selected for
> installation:
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Upgrade: "Mail Archiver X"
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Mail Archiver X.pkg :
> com.mothsoftware.mailarchiverx30.pkg : 3.0.0.3.0
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]:
> ================================================================================
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: It took 0.00 seconds to
> summarize the package selections.
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: -[IFPKGDerivedDocument
> sortedPackageLocations]: result = (
> "file://localhost"
> )
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]:
> -[IFDInstallController(Private) _buildInstallPlan]: location =
> file://localhost
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]:
> -[IFDInstallController(Private) _buildInstallPlan]:
> file://localhost/Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver 3base/code current/Max Installer/build/Mail Archiver X.pkg
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Set authorization level to
> root for session
> Mar 24 11:03:39 trixis-mac-pro runner[4099]: Administrator authorization
> granted.
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Will use PK session
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Starting installation:
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Configuring volume "Macci"
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Preparing disk for local
> booted install.
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Free space on "Macci":
> 165,66 GB (165663449088 bytes).
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Create temporary directory
> "/var/folders/yb/l1kg95s932sgnw_8bl3dd67h0000gr/T//Install.4094RiPmqn"
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: IFPKInstallElement (1
> packages)
> Mar 24 11:03:39 trixis-mac-pro Installer[4094]: Using authorization level of
> root for IFPKInstallElement
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: installd: Starting
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: installd: uid=0, euid=0
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: PackageKit: ----- Begin
> install -----
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: PackageKit:
> request=PKInstallRequest <1 packages, destination=/>
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: PackageKit: packages=(
> "PKJaguarPackage
> <file://localhost/Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver 3base/code current/Max Installer/build/Mail Archiver X.pkg>"
> )
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: PackageKit: Will do
> receipt-based obsoleting for package identifier
> com.mothsoftware.mailarchiverx30.pkg (prefix path=Applications)
> Mar 24 11:03:39 trixis-mac-pro installd[4102]: PackageKit: Extracting
> file://localhost/Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver 3base/code current/Max Installer/build/Mail Archiver X.pkg
> (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At
> Startup/PKInstallSandboxManager/1.sandbox/Root/Applications, uid=0)
> Mar 24 11:03:42 trixis-mac-pro installd[4102]: PackageKit: prevent user idle
> system sleep
> Mar 24 11:03:42 trixis-mac-pro installd[4102]: PackageKit: suspending
> backupd
> Mar 24 11:03:42 trixis-mac-pro install_monitor[4107]: Temporarily excluding:
> /Applications, /Library, /System, /bin, /private, /sbin, /usr
> Mar 24 11:03:42 trixis-mac-pro installd[4102]: PackageKit: Executing script
> "./preupgrade" in /Users/beatrixwillius/Documents/ Datei/Development/Mail
> Archiver 3base/code current/Max Installer/build/Mail Archiver
> X.pkg/Contents/Resources
> Mar 24 11:03:42 trixis-mac-pro installd[4102]: PackageKit: Shoving
> /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At
> Startup/PKInstallSandboxManager/1.sandbox/Root (1 items) to /
> Mar 24 11:03:43 trixis-mac-pro installd[4102]: PackageKit: Writing receipt
> for com.mothsoftware.mailarchiverx30.pkg to /private/var/db/receipts
> Mar 24 11:03:43 trixis-mac-pro installd[4102]: PackageKit: Touched bundle
> Applications/Mail Archiver X 3/Mail Archiver X.app
> Mar 24 11:03:43 trixis-mac-pro installd[4102]: PackageKit: Touched bundle
> Applications/Mail Archiver X 3/Mail Archiver X.app/Contents/Mail Archiver
> Scheduler.app
> Mar 24 11:03:43 trixis-mac-pro installd[4102]: Installed "Mail Archiver X"
> ()
> Mar 24 11:03:43 trixis-mac-pro install_monitor[4107]: Re-included:
> /Applications, /Library, /System, /bin, /private, /sbin, /usr
> Mar 24 11:03:44 trixis-mac-pro installd[4102]: PackageKit: releasing backupd
> Mar 24 11:03:44 trixis-mac-pro installd[4102]: PackageKit: allow user idle
> system sleep
> Mar 24 11:03:44 trixis-mac-pro installd[4102]: PackageKit: ----- End install
> -----
> Mar 24 11:03:44 trixis-mac-pro Installer[4094]: PackageKit: Registered
> bundle
> file://localhost/Applications/Mail Archiver X 3/Mail Archiver X.app/
> for uid 504
> Mar 24 11:03:44 trixis-mac-pro Installer[4094]: PackageKit: Registered
> bundle
> file://localhost/Applications/Mail Archiver X 3/Mail Archiver X.app/Contents/Mail Archiver Scheduler.app/
> for uid 504
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: Removing temporary directory
> "/var/folders/yb/l1kg95s932sgnw_8bl3dd67h0000gr/T//Install.4094RiPmqn"
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: Finalize disk "Macci"
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: Notifying system of updated
> components
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]:
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: **** Summary Information
> ****
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: Operation Elapsed
> time
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]:
> -----------------------------
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: zero 0.01
> seconds
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: disk 0.01
> seconds
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: install 6.08
> seconds
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: -total- 6.10
> seconds
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]:
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: IFDInstallController
> C700C760 state = 5
> Mar 24 11:03:45 trixis-mac-pro Installer[4094]: Displaying 'Install
> Succeeded' UI.
>
>
> 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
>
--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
_______________________________________________
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