• 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
shell script 'touch' problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell script 'touch' problem


  • Subject: shell script 'touch' problem
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 10 Mar 2012 17:58:25 +1100

G'day scripters

As the installer for GeeThree iMovieHD 6 add-ons no longer works with Lion, I thought I'd write an installer for myself.

I find the extras become corrupted after a while, so wanted an installer to keep them updated.

The following second line works in Snow Leopard, but not in Lion.

Can someone set me straight on what's required please?

Regards

Santa

if not (exists (ptl & "Preferences:com.apple.iLife08.plist") as text) then
do shell script "touch /Library/Preferences/com.apple.iLife08.plist"
set theFlag to true
end if


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: shell script 'touch' problem
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: dot dot dot
  • Next by Date: Re: shell script 'touch' problem
  • Previous by thread: dot dot dot
  • Next by thread: Re: shell script 'touch' problem
  • Index(es):
    • Date
    • Thread