unreachable code in postinst
Bug #787186 reported by
Colin Watson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: software-center
software-
if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
# update the application data
update-
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-
fi
The second if block is unreachable. I suspect that the 'exit 0' should only happen if [ "$1" = "triggered" ].
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.