[Bug 978436] [NEW] whoopsie.postinst rejects legal arguments

Colin Watson cjwatson at canonical.com
Tue Apr 10 23:14:36 UTC 2012


Public bug reported:

case "$1" in
        configure)
[...]
        *)
                echo "postinst called with an unknown argument \`$1'" >&2
                exit 1
        ;;
esac

There are several legal arguments to postinst other than 'configure',
and whoopsie needs to accept them even if it doesn't do anything special
with them.  I suggest replacing that case statement with 'if [ "$1" =
configure" ]; then ...; fi'.

** Affects: whoopsie-daisy (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  whoopsie.postinst rejects legal arguments

Status in “whoopsie-daisy” package in Ubuntu:
  New

Bug description:
  case "$1" in
          configure)
  [...]
          *)
                  echo "postinst called with an unknown argument \`$1'" >&2
                  exit 1
          ;;
  esac

  There are several legal arguments to postinst other than 'configure',
  and whoopsie needs to accept them even if it doesn't do anything
  special with them.  I suggest replacing that case statement with 'if [
  "$1" = configure" ]; then ...; fi'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie-daisy/+bug/978436/+subscriptions




More information about the foundations-bugs mailing list