Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: olibraga on December 06, 2011, 12:02:25 PM

Title: /usr/local/etc/wgetrc not created in 4.1
Post by: olibraga on December 06, 2011, 12:02:25 PM
The reason is that the /usr/local/tce.installed/wget script uses || instead of && (or equivalently ! in the tests)
Title: Re: /usr/local/etc/wgetrc not created in 4.1
Post by: maro on December 06, 2011, 03:28:36 PM
Good catch! My personal suggestion would be to just remove the negation from the two tests instead of changing the operator (from || to &&), but either option would work.

And looking briefly into that extension I wonder why there is an empty '/etc' directory in the root of the squashFS when it's existence is also been ensured via the startup script. Looks a bit like a "belts & braces" approach to me, but clearly no harm will come from this redundancy.
Title: Re: /usr/local/etc/wgetrc not created in 4.1
Post by: Jason W on December 06, 2011, 04:42:10 PM
Typo corrected, !'s removed.