Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


no luck | 10 comments | Create New Account
Click here to return to the 'no luck' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
no luck
Authored by: loren_ryter on Jun 03, '02 10:11:15AM

i'm no shell script expert by i couldn't get this to work properly....

i wanted the download directory to be "/Volumes/Scratch/Downloads/Chimera/" and I wanted the target directory to be "/Applications (OS X)/Internet/Browsers/"... I tried to change the relevant strings. I put quotes around all the path strings (replaced "/Applications/" with my target path string.)

but what I got was:

1. chimera .dmg downloaded to ~ directory

2. a "Contents" folder in the target directory with no application but all the resources.

I put quotes around all the path strings (replaced "/Applications/" with my target path string.)

Maybe someone can re-rewite this with a variable target path? and explain why the download would wind up in my home directory rather than the specified download directory?

thanks



[ Reply to This | # ]
no luck
Authored by: dim ben on Jun 03, '02 12:02:44PM

in the line that copys the new Chimera to your application folder, just add "Navigator.app" to the path of your application directory, and it will work, no matter what folder you want your app to be copied to.

Use
/usr/bin/ditto "/Volumes/Chimera/Navigator.app" "/your/path/Navigator.app"

instead of
/usr/bin/ditto "/Volumes/Chimera/Navigator.app" "/Applications/"



[ Reply to This | # ]
no luck
Authored by: loren_ryter on Jun 03, '02 10:30:17PM

ok got it finally that worked. thanks.



[ Reply to This | # ]