Hello community,

here is the log from the commit of package yast2-online-update-configuration 
for openSUSE:Factory checked in at 2014-03-27 06:11:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-online-update-configuration (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-online-update-configuration.new 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-online-update-configuration"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-online-update-configuration/yast2-online-update-configuration.changes
      2014-01-23 15:59:10.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-online-update-configuration.new/yast2-online-update-configuration.changes
 2014-03-27 06:11:36.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Mar 26 14:56:00 UTC 2014 - [email protected]
+
+- Rerun zypper if it returns 103 which indicates that an update to 
+  zypper itself was installed
+- 3.1.4
+
+-------------------------------------------------------------------

Old:
----
  yast2-online-update-configuration-3.1.3.tar.bz2

New:
----
  yast2-online-update-configuration-3.1.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-online-update-configuration.spec ++++++
--- /var/tmp/diff_new_pack.YC31XJ/_old  2014-03-27 06:11:36.000000000 +0100
+++ /var/tmp/diff_new_pack.YC31XJ/_new  2014-03-27 06:11:36.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-online-update-configuration
-Version:        3.1.3
+Version:        3.1.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-online-update-configuration-3.1.3.tar.bz2 -> 
yast2-online-update-configuration-3.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-configuration-3.1.3/package/yast2-online-update-configuration.changes
 
new/yast2-online-update-configuration-3.1.4/package/yast2-online-update-configuration.changes
--- 
old/yast2-online-update-configuration-3.1.3/package/yast2-online-update-configuration.changes
       2014-01-14 11:07:59.000000000 +0100
+++ 
new/yast2-online-update-configuration-3.1.4/package/yast2-online-update-configuration.changes
       2014-03-26 15:54:03.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed Mar 26 14:56:00 UTC 2014 - [email protected]
+
+- Rerun zypper if it returns 103 which indicates that an update to 
+  zypper itself was installed
+- 3.1.4
+
+-------------------------------------------------------------------
 Wed Dec 18 09:00:16 UTC 2013 - [email protected]
 
 - Fix missing lib dir in makefile and specfile 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-configuration-3.1.3/package/yast2-online-update-configuration.spec
 
new/yast2-online-update-configuration-3.1.4/package/yast2-online-update-configuration.spec
--- 
old/yast2-online-update-configuration-3.1.3/package/yast2-online-update-configuration.spec
  2014-01-14 11:07:59.000000000 +0100
+++ 
new/yast2-online-update-configuration-3.1.4/package/yast2-online-update-configuration.spec
  2014-03-26 15:54:03.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-online-update-configuration
-Version:        3.1.3
+Version:        3.1.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-configuration-3.1.3/src/bin/online_update 
new/yast2-online-update-configuration-3.1.4/src/bin/online_update
--- old/yast2-online-update-configuration-3.1.3/src/bin/online_update   
2014-01-14 11:07:59.000000000 +0100
+++ new/yast2-online-update-configuration-3.1.4/src/bin/online_update   
2014-03-26 15:54:03.000000000 +0100
@@ -46,14 +46,30 @@
     zcmd="$zcmd --no-recommends"
 fi
 
+
+function runzypper {
+    # run passed arguments
+    "$@"
+    local status=$?
+    # the return code 103 indicates a succesful patch of the zypper package
+    # other patches might stil be waiting
+    if [ $status -eq 103 ]; then
+        echo "The Zypper package was patched, rerunning update to apply 
remaining patches."
+        # rerun passed zypper command and use new status as return value
+        "$@"
+        status=$?
+    fi
+    exit $status
+}
+
 # trim whitespaces
 AOU_PATCH_CATEGORIES=`echo $AOU_PATCH_CATEGORIES`
 # run the update
 if [ -z "$AOU_PATCH_CATEGORIES" ] ; then
-  $zcmd
+  runzypper $zcmd
 else
   for cat in $AOU_PATCH_CATEGORIES ; do
-    $zcmd --category "$cat"
+    runzypper $zcmd --category "$cat"
   done
 fi
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to