Home Forums Software InstaDMG when you need to test a pesky installer

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #376389
    knowmad
    Participant

    I found this article/code snippet:
    [url]http://www.jaharmi.com/2009/04/14/spot_problem_commands_in_apple_installer_package_scripts[/url]
    and the fellow seems known to several members of this community, and what he says/writes makes sense.
    Un-tested by me as yet (figured out my issue another way before I read all the hits I got on this search) but may be worth while for others.
    [code]$ find /path/to/installer.pkg -regex ‘.*/*\(flight\)’ -or -regex ‘.*/*\(install\)’ -or -regex ‘.*/*\(upgrade\)’ -exec grep –with-filename –line-number ‘\(cp\|mv\|ln\|>{1,2}\|cat\|echo\|chown\|chmod\|rm\|srm\)’ {} \;[/code]

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed