osx - Packages installer (for Mac) script execution fails -


i have been unsuccessful in getting packages v1.1.2 (within osx 10.9.5) in either bundle or flat mode fire sort of script—-even simple test script beeps:

#!/bin/sh osa "beep 1" exit 0 

the package , script have been code-signed , verified, , script permissions set take correct permissions using chmod u+rwx. frustrating have older package installation file executes script fine. can overlooking?

i advised @ install log , found following:

executing script "./preinstall" in /private/tmp/pkinstallsandbox.dm4h07/scripts/com.mygreatcompany.pkg.test.fmbtok packagekit: *** couldn't posix_spawn: error 8

perhaps sandbox culprit?

apparently there wrong shell script. remade new shell script, pasting original content except "she-bang" part. hand-typed. noted unlike original shell script, new 1 showed in desktop white icon--not black previous script file. had been playing around c programming , made change command line tool make compile c. whatever change made terminal (by pasting in code grabbed blog discussed how mac terminal compile c) may have been culprit. should add reinstalled packages application.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -