[Bug 978436] Re: whoopsie.postinst rejects legal arguments
Toby Smithe
toby.smithe at gmail.com
Thu Apr 12 17:25:11 UTC 2012
Just running my daily update.. Don't you mean
if [ "$1" == "configure" ]; then
? Otherwise:
/var/lib/dpkg/info/whoopsie.postinst: 6: [: configure: unexpected
operator
--
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:
Fix Released
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