Re: How to access resources in flat distribution package
Re: How to access resources in flat distribution package
- Subject: Re: How to access resources in flat distribution package
- From: Stephane Sudre <email@hidden>
- Date: Thu, 21 Jun 2012 10:50:37 -0700
If you need to access something inside the Resources folder of a flat
package from the pre- or post-installation of this package, they are
at the same level as your script when it's running (because the
resources are extracted during installation).
So ./your_file is the path you can use.
On Thu, Jun 21, 2012 at 2:50 AM, Kevin Molcard
<email@hidden> wrote:
> Hi all,
> I am trying to convert my package to flat distribution to be able to sign it
> using productsign.
> I am using Packages to build my package.
> I have some resources that I have to access in my postflight script.
> In bundle format I used this:
>
> ROOT_PATH=`sudo dirname "$1"`
> RESOURCES_PATH="$ROOT_PATH/../Resources/"
>
> This seems to not work with flat packages.
> Does anyone know how to access these resources?
>
> Thanks in advance.
> Kevin
>
> --
> Kevin Molcard
> Sofware Engineer
>
> ARTURIA
> 4 chemin de Malacher
> 38240 Meylan - France
> Tel: +33 438 020 555
> Fax: +33 438 020 525
>
> http://www.arturia.com
>
> _______________________________________________
> 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
_______________________________________________
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