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

svn at pcbsd.org svn at pcbsd.org
Thu Nov 18 11:32:18 PST 2010


Author: kris
Date: 2010-11-18 11:32:17 -0800 (Thu, 18 Nov 2010)
New Revision: 8042

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

Don't do the PBI auto-association to repos when running as a user



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-18 18:54:31 UTC (rev 8041)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-18 19:32:17 UTC (rev 8042)
@@ -3524,6 +3524,7 @@
 
 # Function which checks the digital signature of a PBI to match it to a particular repo
 pbi_checksig_repomatch() {
+  	if [ `id -u` != "0" ] ; then return ; fi
 
         # See which repo / key this PBI associates to, if any
 	check_valid_sigs "${1}"



More information about the Commits mailing list