requiring a file with a variable path?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com My installer needs to install a file tree in the user's home directory, then copy a file from the installed tree into a directory with a variable path. Specifically, the directory may be named either: /Library/Application Support/ Google SketchUp 7/SketchUp/plugins Google SketchUp 8/SketchUp/plugins' ^ I have a (Ruby) preinstall script which checks for both of these paths, as: patt = '/Library/Application Support/' + 'Google SketchUp */SketchUp/plugins' pl_path = Dir.glob(patt)[-1] It then sets up a symlink (in /tmp/SketchApps_install) that the postinstall script uses to perform the copy. Problem is, I'd really like to have the installer check for this symlink and issue a nastygram if it isn't there. I've tried doing this in a couple of ways, but they all run into problems. Help? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Software system design, development, and documentation _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rich Morin