Hello community, here is the log from the commit of package nbd for openSUSE:Factory checked in at 2014-11-10 17:28:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nbd (Old) and /work/SRC/openSUSE:Factory/.nbd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nbd" Changes: -------- --- /work/SRC/openSUSE:Factory/nbd/nbd.changes 2013-04-20 17:50:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2014-11-10 17:29:11.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Nov 09 19:27:00 UTC 2014 - Led <led...@gmail.com> + +- fix bashisms in pre script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nbd.spec ++++++ --- /var/tmp/diff_new_pack.rGifsT/_old 2014-11-10 17:29:12.000000000 +0100 +++ /var/tmp/diff_new_pack.rGifsT/_new 2014-11-10 17:29:12.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package nbd # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -143,18 +143,20 @@ # Do we have to create a generic section? unset generic if test -e /etc/nbd-server/config; then generic=1; fi + grep -vE '^(#|[[:blank:]]*$)' /etc/nbd-server.conf | while read port file opts; do - if test -z "$port"; then continue; fi - if test "${port:0:1}" = "#"; then continue; fi if test -z "$generic"; then - echo -e "[generic]\n\t# No generic options yet\n" > /etc/nbd-server/config + echo > /etc/nbd-server/config + echo "[generic]" >> /etc/nbd-server/config + echo " # No generic options yet" >> /etc/nbd-server/config + echo >> /etc/nbd-server/config generic=1 fi FN=${file%/*} nm="cvt.$port.${FN##*/}.${file##*/}" echo " ... convert $port $file $opts -> $nm" /usr/bin/nbd-server $port $file $opts -o "$nm" >> /etc/nbd-server/config - done < /etc/nbd-server.conf + done mv /etc/nbd-server.conf /etc/nbd-server.conf.converted fi -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org