Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Double-check if the package was installed, and halt if not
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Oct 26, 2013
1 parent 0e440c4 commit 96411aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src-sh/pbi-manager10/pbi-manager
Original file line number Diff line number Diff line change
Expand Up @@ -7547,6 +7547,10 @@ do_port_build()
if [ $? -ne 0 ] ; then
exit_err "Failed installing $_lPortRaw"
fi

# Did it install?
pkg info -e ${_lPortRaw}
if [ $? -ne 0 ] ; then exit_err "Failed to install $_lPortRaw" ; fi
return 0
fi

Expand Down

0 comments on commit 96411aa

Please sign in to comment.