<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-05-19 1:34 GMT+02:00 Jonas Smedegaard <span dir="ltr"><<a href="mailto:dr@jones.dk" target="_blank">dr@jones.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Quoting Jérémy Lal (2015-05-18 19:33:34)<br>
<div><div class="h5">> 2015-05-18 19:19 GMT+02:00 Jonas Smedegaard <<a href="mailto:dr@jones.dk">dr@jones.dk</a>>:<br>
>> Quoting Jérémy Lal (2015-05-06 14:08:09)<br>
>>> 2015-05-06 13:31 GMT+02:00 Pau Garcia i Quiles <<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>>:<br>
>>>> The package.json file does exist:<br>
>> [...]<br>
>>>> /usr/lib/nodejs/uglify-js/package.json<br>
>>><br>
>>> that's why it's usually simpler and safer to install original<br>
>>> hierarchy with<br>
>>> - package.json<br>
>>> - lib/*<br>
>>> in /usr/lib/nodejs/uglify-js, instead of changing it and not<br>
>>> installing package.json.<br>
>><br>
>> You are barking up the wrong tree, Jérémy: package.js *is* installed<br>
>> at the *correct* location.  Please read what Pau Garcia wrote.<br>
>><br>
>> Problem is upstream script expecting to be installed in ~/bin/ and<br>
>> assuming its library is in ~/lib/<br>
>><br>
>> I will extend 2001 to also cover hardcoded path to parse.js.<br>
><br>
> What i was saying was that files were expected to be installed in<br>
> /usr/lib/nodejs/uglify-js/package.json<br>
> /usr/lib/nodejs/uglify-js/lib/*<br>
><br>
> which is fine for me but i saw you prefer installing them up one dir +<br>
> patch.<br>
<br>
</div></div>Please actually look at the uglifyjs source package - or just read<br>
closely the original bugreport - before you comment further.  I think<br>
you will then agree that your remarks are totally irrelevant here.<br><br></blockquote><div><br></div><div>Well, i actually did that.</div><div>So if you've setup the files with the same tree as in source, that is</div><div>/usr/lib/nodejs/uglify-js/bin/uglifyjs</div><div>/usr/lib/nodejs/uglify-js/lib/*.js<br></div><div>/usr/lib/nodejs/uglify-js/package.json<br></div><div><br></div><div>and a symlink <span style="line-height:normal">/usr/lib/nodejs/uglify-js/bin/uglifyjs -></span><span style="line-height:normal"> /usr/bin/uglifyjs</span></div><div><span style="line-height:normal">there wouldn't be a need for the patches.</span></div><div><span style="line-height:normal"><br></span></div><div><span style="line-height:normal">As i said, i'm not questionning the dislike for keeping the original tree,</span></div><div><span style="line-height:normal">i'm just saying that it avoids adding more patches.</span></div><div><span style="line-height:normal"><br></span></div><div><span style="line-height:normal">Jérémy.</span></div><div><span style="line-height:normal"><br></span></div></div><br></div></div>