• 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
Is it ok to create a directory from a postflight script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it ok to create a directory from a postflight script?


  • Subject: Is it ok to create a directory from a postflight script?
  • From: "OSullivan, Steven" <email@hidden>
  • Date: Fri, 02 Jan 2009 12:25:16 -0800
  • Thread-topic: Is it ok to create a directory from a postflight script?

Title: Is it ok to create a directory from a postflight script?
Hello all,

I have a postflight script that is composed of the following steps:


#!/bin/sh

chmod 775 /Library/Application\ Support/Company
chown root:admin /Library/Application\ Support/Company


I need to create a folder in /Library/Application\ Support/Company/ called 'target'. Is it ok to add the following step to the postflight script:

mkdir /Library/Application\ Support/Company/target

Or, should this be in a postinstall script instead?

Thanks for any and all assistance.

Regards,

Steve O'Sullivan
 _______________________________________________
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

  • Follow-Ups:
    • Re: Is it ok to create a directory from a postflight script?
      • From: email@hidden
  • Prev by Date: Distribution packages and Panther
  • Next by Date: The source media you are installing from is damaged
  • Previous by thread: RE: Distribution packages and Panther
  • Next by thread: Re: Is it ok to create a directory from a postflight script?
  • Index(es):
    • Date
    • Thread