[Q] Is there a way to log what a postinstallation shell script does?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=VzkdLYBh3G5xaU3jefE+MHRHiP/qf7ijT0KsAjLOQ4t5SKz+rU4WJWY91CxzZLX4MCOsPw0DTP2ujpM7M/ozaoHz6yF5ISJtJmekjg8pmNhpLTWEBtPyXDnPkpNd69v0boAedqvhTK4Xly6nvH3CrFsiwtvRiPCS4Fmd4VzGT2g= ; User-agent: Thunderbird 2.0.0.14 (Windows/20080421) Hello. I wrote a post installation script like : #!/bin/sh echo $1 echo $SCRIPT_NAME sudo -u $USER osascript $1/Contents/Resources/Add_Login_Item.scpt exit 0 The content of the Add_Login_item.scpt is : The path is the installed path of the interested application. Can anyone tell me what can be wrong and how to fix it? Or is it prohibited to install a log in item like this? Thank you. _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... tell application "System Events" make new login item at end with properties { path:"/Library.......", hidden:flase} end tell However, nothing happens. Also, although I put the echo $1 and so on, I couldn't see the echoed information from the console. So I don't know what is happening. This email sent to site_archiver@lists.apple.com
participants (1)
-
JongAm Park