** Changed in: software-center (Ubuntu)
       Status: New => Triaged

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/787186

Title:
  unreachable code in postinst

Status in “software-center” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: software-center

  software-center.postinst includes this code:

  if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then

      # update the application data
      update-software-center --triggered "$2" || true
      exit 0
  fi

  # make sure we update the index so that on first install
  # we have something to show (LP: #617397)
  if [ "$1" = "configure" ];then
      update-apt-xapian-index -u || true
  fi

  The second if block is unreachable.  I suspect that the 'exit 0'
  should only happen if [ "$1" = "triggered" ].

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/787186/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to