system.files.fileExistsAtPath
system.files.fileExistsAtPath
- Subject: system.files.fileExistsAtPath
- From: "Sean P. Kane" <email@hidden>
- Date: Tue, 19 Sep 2006 12:08:57 -0700
- Thread-topic: system.files.fileExistsAtPath
Title: system.files.fileExistsAtPath
Question:
If I am running the following code in a distribution package choice’s scripts:
(system.sysctl('hw.machine') == 'i386' && system.files.fileExistsAtPath('/Library/Receipts/SecUpd2006-004Intel.pkg') == false) && my.choice.selected
Which is intended to determine if the machine is an intel based system and already has SecUpd2006-004Intel.pkg installed, will system.files.fileExistsAtPath check for that file on the system I am booted to or on the target? If it is on the System Disk, is there a way to check the target instead?
Thanks,
Sean
--
Sean P. Kane
Macintosh Client Engineering Support | Nike, Inc.
Affiliated Computer Services | Beaverton, Oregon
_______________________________________________
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