[PC-BSD Commits] r21551 - pcbsd/current/src-sh/pc-updatemanager

svn at pcbsd.org svn at pcbsd.org
Fri Feb 15 11:45:19 PST 2013


Author: kris
Date: 2013-02-15 19:45:19 +0000 (Fri, 15 Feb 2013)
New Revision: 21551

Modified:
   pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
Log:

Add flag --non-interactive to all calls of freebsd-update



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2013-02-15 19:44:27 UTC (rev 21550)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2013-02-15 19:45:19 UTC (rev 21551)
@@ -363,13 +363,13 @@
   local rel=`echo $1 | sed 's|fbsd-||g'`
 
   # Download update files from freebsd-update
-  freebsd-update -r "$rel" upgrade
+  freebsd-update --non-interactive -r "$rel" upgrade
   if [ $? -ne 0 ] ; then
      exit_err "Failed running \"freebsd-update -r $rel upgrade\"..."
   fi
 
   # Now install files
-  freebsd-update install
+  freebsd-update --non-interactive install
   if [ $? -ne 0 ] ; then
      exit_err "Failed running \"freebsd-update install\"..."
   fi



More information about the Commits mailing list