Re: Is it ok to create a directory from a postflight script?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=K6AwIMNDG0wFBtq0u4/DpoOe6LQPme9y0fZr+OSSB2w=; b=Th8gTzBecsceL0X2xKnhM2/7i1Lw4W2EwsPP3I1Z5Vbd6xc0uBfHn54HHgelafSnue nj2wvLNPHlL2+r3z6pCa/lsVuv5jWNG2YxqdiUJPS3j33XLaWvYDpnWmkUE/5Xk44Boa AB5aIfAMMokeZ5/a/KhhrCzNz9JIK97kd8Exs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=XVlAVK7qSjOv93uDSpcwNqlnH/zzYx8Ip5helhbqDX0LfVqdVkmIxjB39mAJEsrGod pvgw6sN/UnFf+70o0LGXZdPNZNBZLs9HvsomGonqCet0d2+bpWmAdqWy8Q4DZm3Qeafn EQi+gj5xWx29NWB/7kUgjAbuT9p9mQDRg4JMw= On Jan 2, 2009, at 12:25 PM, OSullivan, Steven wrote: 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 mkdir /Library/Application\ Support/Company/target /bin/mkdir -p /Library/Application\ Support/Company/target /bin/chmod 775 Library/Application\ Support/Company/target /usr/sbin/chown root:admin /Library/Application\ Support/Company/target postflight is fine with the command above. _______________________________________________ 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... 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: Or, should this be in a postinstall script instead? This email sent to site_archiver@lists.apple.com
participants (1)
-
dev.iceberg@gmail.com