Skip to content
Browse files

Double-check if the package was installed, and halt if not

  • Loading branch information...
1 parent 0e440c4 commit 96411aa089d0c250a41afe7e02ddcd634178c710 @kmoore134 kmoore134 committed Oct 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src-sh/pbi-manager10/pbi-manager
View
4 src-sh/pbi-manager10/pbi-manager
@@ -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

0 comments on commit 96411aa

Please sign in to comment.
Something went wrong with that request. Please try again.