Re: Installer-dev Digest, Vol 94, Issue 29
Re: Installer-dev Digest, Vol 94, Issue 29
- Subject: Re: Installer-dev Digest, Vol 94, Issue 29
- From: Per Olofsson <email@hidden>
- Date: Wed, 27 Jun 2012 12:07:31 +0000
- Thread-topic: Installer-dev Digest, Vol 94, Issue 29
On 27 jun 2012, at 13:55, Stephane Sudre wrote:
> . either you write a script to look for the "no" string and replace
> it with "yes" or you edit the .dist XML file with some command line
> tools (which I don't know) that lets you parse/modify a XML file.
No need for a full XML parser to modify a simple string. Try:
perl -p -i -e 's/allow-external-scripts="no"/allow-external-scripts="yes"/' distribution.dist
--
Per Olofsson, IT-service, University of Gothenburg
_______________________________________________
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