Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2014-12-21 12:03:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-installation" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2014-12-17 19:16:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes 2014-12-21 12:02:21.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Dec 18 20:12:47 UTC 2014 - lslezak@suse.cz + +- Fix bashisms and shebangs in scripts (by "Ledest") +- 3.1.125 + +------------------------------------------------------------------- Old: ---- yast2-installation-3.1.124.tar.bz2 New: ---- yast2-installation-3.1.125.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.narYUx/_old 2014-12-21 12:02:22.000000000 +0100 +++ /var/tmp/diff_new_pack.narYUx/_new 2014-12-21 12:02:22.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.124 +Version: 3.1.125 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-installation-3.1.124.tar.bz2 -> yast2-installation-3.1.125.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/package/yast2-installation.changes new/yast2-installation-3.1.125/package/yast2-installation.changes --- old/yast2-installation-3.1.124/package/yast2-installation.changes 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/package/yast2-installation.changes 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 18 20:12:47 UTC 2014 - lslezak@suse.cz + +- Fix bashisms and shebangs in scripts (by "Ledest") +- 3.1.125 + +------------------------------------------------------------------- Wed Dec 10 15:57:59 CET 2014 - aschnell@suse.de - drop check for Gtk since Gtk UI of YaST is no longer supported diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/package/yast2-installation.spec new/yast2-installation-3.1.125/package/yast2-installation.spec --- old/yast2-installation-3.1.124/package/yast2-installation.spec 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/package/yast2-installation.spec 2014-12-18 21:14:11.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.124 +Version: 3.1.125 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/First-Stage/F03-umount new/yast2-installation-3.1.125/startup/First-Stage/F03-umount --- old/yast2-installation-3.1.124/startup/First-Stage/F03-umount 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/First-Stage/F03-umount 2014-12-18 21:14:11.000000000 +0100 @@ -5,7 +5,7 @@ #================================================ # 3) try to umount inst-sys and save exit status #------------------------------------------------ -umount /var/adm/mount &>/dev/null +umount /var/adm/mount >/dev/null 2>&1 umount_exit=$? echo "umount_result: $umount_exit" >> /etc/install.inf log "\tTrying to umount inst-sys exits with code: $umount_exit" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/First-Stage/F08-logging new/yast2-installation-3.1.125/startup/First-Stage/F08-logging --- old/yast2-installation-3.1.124/startup/First-Stage/F08-logging 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/First-Stage/F08-logging 2014-12-18 21:14:11.000000000 +0100 @@ -17,7 +17,7 @@ #--------------------------------------------- # log size not defined by user -if [ "$Y2MAXLOGSIZE_INITIAL" == "" ]; then +if [ -z "$Y2MAXLOGSIZE_INITIAL" ]; then USE=`awk '/^MemFree:/{ n=2 ; printf "%d\n", $n/3 }' /proc/meminfo` if [ "$USE" -gt "$Y2MAXLOGSIZE" ];then export Y2MAXLOGSIZE=$USE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/Second-Stage/S09-cleanup new/yast2-installation-3.1.125/startup/Second-Stage/S09-cleanup --- old/yast2-installation-3.1.124/startup/Second-Stage/S09-cleanup 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/Second-Stage/S09-cleanup 2014-12-18 21:14:11.000000000 +0100 @@ -8,12 +8,12 @@ # 13.1) kill shell on second virtual console if test ! -z "$SPID" ; then log "\tkill console with PID: $SPID" - kill -KILL $SPID &>/dev/null + kill -KILL $SPID >/dev/null 2>&1 fi # 13.2) kill VNC server and remove VNC passwd if [ ! -z "$VNC" ] && [ "$VNC" -eq 1 ] ; then log "\tkill all VNC sessions..." - killall Xvnc &>/dev/null + killall Xvnc >/dev/null 2>&1 rm -fv /root/.vnc/passwd.yast fi # 13.3) stop network and sshd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/YaST2.First-Stage new/yast2-installation-3.1.125/startup/YaST2.First-Stage --- old/yast2-installation-3.1.124/startup/YaST2.First-Stage 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/YaST2.First-Stage 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #================ # FILE : YaST2.First-Stage #---------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/YaST2.Second-Stage new/yast2-installation-3.1.125/startup/YaST2.Second-Stage --- old/yast2-installation-3.1.124/startup/YaST2.Second-Stage 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/YaST2.Second-Stage 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #================ # FILE : YaST2.Second-Stage #---------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/YaST2.call new/yast2-installation-3.1.125/startup/YaST2.call --- old/yast2-installation-3.1.124/startup/YaST2.call 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/YaST2.call 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #================ # FILE : YaST2.call #---------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/YaST2.ssh new/yast2-installation-3.1.125/startup/YaST2.ssh --- old/yast2-installation-3.1.124/startup/YaST2.ssh 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/YaST2.ssh 2014-12-18 21:14:11.000000000 +0100 @@ -21,7 +21,7 @@ #======================================== # boot into system #---------------------------------------- -function continue_after_second_stage () { +continue_after_second_stage () { cat <<-EOF Continue with booting ... @@ -32,7 +32,7 @@ EOF } -function reboot_during_second_stage () { +reboot_during_second_stage () { cat <<-EOF Your system has been updated and needs to reboot ... @@ -43,7 +43,7 @@ EOF } -function not_running_yast () { +not_running_yast () { cat <<-EOF File /var/lib/YaST2/runme_at_boot does not exist ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/arch/s390/console.sh new/yast2-installation-3.1.125/startup/arch/s390/console.sh --- old/yast2-installation-3.1.124/startup/arch/s390/console.sh 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/arch/s390/console.sh 2014-12-18 21:14:11.000000000 +0100 @@ -1,6 +1,6 @@ #!/bin/sh -function s390_check_need_initviocons () { +s390_check_need_initviocons () { [ -n "$HOSTTYPE" ] || HOSTTYPE=$(arch) if [ "$HOSTTYPE" = "s390" ];then export NEED_INITVIOCONS="no" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/common/misc.sh new/yast2-installation-3.1.125/startup/common/misc.sh --- old/yast2-installation-3.1.124/startup/common/misc.sh 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/common/misc.sh 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #================ # FILE : misc.sh #---------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/common/stage.sh new/yast2-installation-3.1.125/startup/common/stage.sh --- old/yast2-installation-3.1.124/startup/common/stage.sh 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/common/stage.sh 2014-12-18 21:14:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #================ # FILE : stage.sh #---------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.124/startup/common/vnc.sh new/yast2-installation-3.1.125/startup/common/vnc.sh --- old/yast2-installation-3.1.124/startup/common/vnc.sh 2014-12-10 17:44:14.000000000 +0100 +++ new/yast2-installation-3.1.125/startup/common/vnc.sh 2014-12-18 21:14:11.000000000 +0100 @@ -19,7 +19,7 @@ . /etc/YaST2/XVersion #----[ setupVNCAuthentication ]------# -function setupVNCAuthentication () { +setupVNCAuthentication () { #--------------------------------------------------- # handle the VNCPassword variable to create a valid # password file. @@ -39,7 +39,7 @@ } #----[ startVNCServer ]------# -function startVNCServer () { +startVNCServer () { #--------------------------------------------------- # start Xvnc server and write a log file from the # VNC server process @@ -82,7 +82,7 @@ -rfbport 5901 \ -httpport 5801 \ -fp $Xfontdir/misc/,$Xfontdir/uni/,$Xfontdir/truetype/ \ - &> /var/log/YaST2/vncserver.log & + >/var/log/YaST2/vncserver.log 2>&1 & xserver_pid=$! export DISPLAY=:0 export XCURSOR_CORE=1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org