RE: Installer JavaScript development question.
RE: Installer JavaScript development question.
- Subject: RE: Installer JavaScript development question.
- From: "Alexander Klyuev" <email@hidden>
- Date: Thu, 30 Sep 2010 18:20:11 -0400
> This would require to add the package as the first package in the list of
choices and set the package to be invisible.
> This would to be tested but that could be a workaround.
Thank you for advises.
Actually the problem appears before any "choice" is installed.
When a choice is being installed - it is too late; the problem no longer
exists.
However the idea would be good for another case. Thank you.
Best,
- Alexander
-----Original Message-----
From: installer-dev-bounces+klax=email@hidden
[mailto:installer-dev-bounces+klax=email@hidden] On Behalf
Of Iceberg-Dev
Sent: September 30, 2010 6:05 PM
To: Installer-Dev mailing-list
Subject: Re: Installer JavaScript development question.
On Sep 30, 2010, at 10:04 PM, Alexander Klyuev wrote:
>> That being said, I don't see how only a JavaScript script would be
>> able to
> fix the permissions :
>> - there is no API for that.
>
> Here it is:
>
> system.run('/bin/chmod', 'a+x',
> <path_to_main_package_resources_folder_script>);
Not an API but another solution, yes.
> [...]
>
> Great idea (would be), however (!!!) how to get path to a zip? Same
> primary problem...
A possible solution is to make sure the script will be somewhere and that
you know where this somewhere is.
For instance, you could have an additional package that installs the script
in /tmp.
This way the permissions will be correct and you will know where the script
is.
This would require to add the package as the first package in the list of
choices and set the package to be invisible.
This would to be tested but that could be a workaround.
_______________________________________________
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