WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: /usr/local/etc/wgetrc not created in 4.1  (Read 1783 times)

Offline olibraga

  • Newbie
  • *
  • Posts: 3
/usr/local/etc/wgetrc not created in 4.1
« 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)

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: /usr/local/etc/wgetrc not created in 4.1
« Reply #1 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.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: /usr/local/etc/wgetrc not created in 4.1
« Reply #2 on: December 06, 2011, 04:42:10 PM »
Typo corrected, !'s removed.