• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell scripts not executing correctly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell scripts not executing correctly


  • Subject: Re: Shell scripts not executing correctly
  • From: Scott Russell <email@hidden>
  • Date: Thu, 15 Mar 2007 12:12:11 -0400

Nope, no problem, but it can be simplified...

defaults write "$HOME/Library/Preferences/com.domain.appname" installertestkeyPOSTFLIGHT installerteststringPOSTFLIGHT

Best wishes,
Scott
-- 
Dr. Scott Russell

IT Support Engineer
Arts & Letters Computing, Distributed Support Services,
Office of Information Technologies, University of Notre Dame
Instructor of Horn, University of Notre Dame and Saint Mary's College
Assistant Horn, South Bend Symphony Orchestra

234 Decio Hall
574-631-7021
email@hidden
http://www.nd.edu/~srussel2/




On Mar 15, 2007, at 11:42 AM, Cormac Daly wrote:

THEUSER=`logname` 
defaults write "$3/Users/$THEUSER/Library/Preferences/com.domain.appname" installertestkeyPOSTFLIGHT installerteststringPOSTFLIGHT

This appears to function corretly but I have yet to extensively test it - can anyone see a potential problem with writing user preferences in this way?

 _______________________________________________
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

References: 
 >Re: Shell scripts not executing correctly (From: Cormac Daly <email@hidden>)

  • Prev by Date: Re: Shell scripts not executing correctly
  • Next by Date: Re: Shell scripts not executing correctly
  • Previous by thread: Re: Shell scripts not executing correctly
  • Next by thread: Re: Shell scripts not executing correctly
  • Index(es):
    • Date
    • Thread