Re: Installer JavaScript development question.
Re: Installer JavaScript development question.
- Subject: Re: Installer JavaScript development question.
- From: Iceberg-Dev <email@hidden>
- Date: Fri, 1 Oct 2010 00:05:18 +0200
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