[PC-BSD Commits] r15273 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Feb 13 08:02:04 PST 2012


Author: kris
Date: 2012-02-13 16:02:03 +0000 (Mon, 13 Feb 2012)
New Revision: 15273

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Add better error message when trying to install a PBI which may be from 8.x on 9.x



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-02-13 15:38:32 UTC (rev 15272)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-02-13 16:02:03 UTC (rev 15273)
@@ -2760,7 +2760,7 @@
 	
 	# Extract the header files 
 	tar xvf "${PBI_FILENAME}" -C "${PBI_HEADER_TMPDIR}" >/dev/null 2>/dev/null
-	if [ "$?" != "0" ] ; then exit_err "Failed to read PBI header!" ; fi
+	if [ "$?" != "0" ] ; then exit_err "Failed to read PBI header! Possible corrupt PBI, or wrong PBI version for this OS." ; fi
 
 }
 



More information about the Commits mailing list