Hello community,

here is the log from the commit of package webyast-base-ws for openSUSE:Factory
checked in at Tue May 31 13:15:40 CEST 2011.



--------
--- webyast-base-ws/webyast-base-ws.changes     2011-05-24 16:28:20.000000000 
+0200
+++ /mounts/work_src_done/STABLE/webyast-base-ws/webyast-base-ws.changes        
2011-05-30 14:14:56.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 30 12:06:49 UTC 2011 - [email protected]
+
+- shutdown lighttpd when we are switching to nginx (bnc#696011)
+- 0.2.23
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ webyast-base-ws.spec ++++++
--- /var/tmp/diff_new_pack.I2K4Af/_old  2011-05-31 13:15:15.000000000 +0200
+++ /var/tmp/diff_new_pack.I2K4Af/_new  2011-05-31 13:15:15.000000000 +0200
@@ -60,7 +60,7 @@
 Group:          Productivity/Networking/Web/Utilities
 Url:            http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:    on
-Version:        0.2.22
+Version:        0.2.23
 Release:        1
 Summary:        WebYaST - base components for rest service
 Source:         www.tar.bz2
@@ -253,11 +253,21 @@
       echo "/usr/sbin/rcyastws restart" >> %name-%version-%release-1
     fi
   fi
-  if [ -f %name-%version-%release-1 ] ; then
+fi
+#We are switching from lighttpd to nginx. So lighttpd has to be killed
+#at first
+if rpm -q --requires %{name}|grep lighttpd > /dev/null ; then
+  if /usr/sbin/rcyastws status > /dev/null ; then
+    echo "yastws is running under lighttpd -> switching to nginx"
+    /usr/sbin/rcyastws stop > /dev/null
+    echo "#!/bin/sh" > %name-%version-%release-1
+    echo "/usr/sbin/rcyastws restart" >> %name-%version-%release-1
+  fi
+fi
+if [ -f %name-%version-%release-1 ] ; then
     install -D -m 755 %name-%version-%release-1 /var/adm/update-scripts
     rm %name-%version-%release-1
     echo "Please check the service runlevels and restart WebYaST service with 
\"rcyastws restart\" if the update has not been called with zypper,yast or 
packagekit"
-  fi
 fi
 exit 0
 


++++++ www.tar.bz2 ++++++


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



Remember to have fun...

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

Reply via email to