Re: [Q] Is there a way to log what a postinstallation shell script does?
Re: [Q] Is there a way to log what a postinstallation shell script does?
- Subject: Re: [Q] Is there a way to log what a postinstallation shell script does?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 24 Jun 2008 00:31:30 +0200
Le Jun 24, 2008 à 12:19 AM, JongAm Park a écrit :
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 :
tell application "System Events"
make new login item at end with properties { path:"/
Library.......", hidden:flase}
end tell
The path is the installed path of the interested application.
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.
Where are you looking for the output? Console.app or Installer.app
log window?
_______________________________________________
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