[Bug 1072580] [NEW] proxy with uppercase HTTP causes postinst to fail

Tobias 1072580 at bugs.launchpad.net
Mon Oct 29 07:26:46 UTC 2012


Public bug reported:


Line 39 in postinst script fails because it doesn't match "HTTP://corp-proxy:8080/
    egrep -q 'https?://[[:alnum:]][-.[:alnum:]]+(:\d+)?/?' &&  \


The fix is trivial. Just add "-i" on the line:
    egrep -iq 'https?://[[:alnum:]][-.[:alnum:]]+(:\d+)?/?' &&  \

and the script works again

** Affects: msttcorefonts (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to msttcorefonts in Ubuntu.
https://bugs.launchpad.net/bugs/1072580

Title:
  proxy with uppercase HTTP causes postinst to fail

Status in “msttcorefonts” package in Ubuntu:
  New

Bug description:
  
  Line 39 in postinst script fails because it doesn't match "HTTP://corp-proxy:8080/
      egrep -q 'https?://[[:alnum:]][-.[:alnum:]]+(:\d+)?/?' &&  \

  
  The fix is trivial. Just add "-i" on the line:
      egrep -iq 'https?://[[:alnum:]][-.[:alnum:]]+(:\d+)?/?' &&  \

  and the script works again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1072580/+subscriptions




More information about the foundations-bugs mailing list