Hello community, here is the log from the commit of package hyper-v for openSUSE:Factory checked in at 2014-11-13 09:21:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hyper-v (Old) and /work/SRC/openSUSE:Factory/.hyper-v.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hyper-v" Changes: -------- --- /work/SRC/openSUSE:Factory/hyper-v/hyper-v.changes 2014-10-08 22:13:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hyper-v.new/hyper-v.changes 2014-11-13 09:21:36.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Nov 09 04:39:00 UTC 2014 - Led <[email protected]> + +- fix bashisms in pre/post scripts + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hyper-v.spec ++++++ --- /var/tmp/diff_new_pack.kIy5tG/_old 2014-11-13 09:21:37.000000000 +0100 +++ /var/tmp/diff_new_pack.kIy5tG/_new 2014-11-13 09:21:37.000000000 +0100 @@ -247,8 +247,9 @@ # move them to /var/lib and remove old directory, if possible. if test -d /var/opt/hyperv then - if mkdir -p -v -m 0755 /var/lib/hyperv && pushd /var/lib/hyperv > /dev/null + if mkdir -p -v -m 0755 /var/lib/hyperv then + cd /var/lib/hyperv for oldfile in /var/opt/hyperv/ifcfg-* /var/opt/hyperv/.kvp_pool_* do if test -e "${oldfile}" @@ -256,7 +257,7 @@ mv -vfb "${oldfile}" . || : fi done - popd > /dev/null + cd - >/dev/null fi rmdir -v /var/opt/hyperv || : fi @@ -267,7 +268,7 @@ %post board_vendor= product_name= -if pushd /sys/class/dmi/id > /dev/null 2>/dev/null +if cd /sys/class/dmi/id 2>/dev/null then if test -r board_vendor then @@ -277,7 +278,7 @@ then product_name="`cat product_name`" fi - popd > /dev/null + cd - >/dev/null fi if test "${board_vendor}" = "Microsoft Corporation" -a "${product_name}" = "Virtual Machine" then -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
