commit netcfg for openSUSE:Factory
Hello community, here is the log from the commit of package netcfg for openSUSE:Factory checked in at 2014-07-28 06:31:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netcfg (Old) and /work/SRC/openSUSE:Factory/.netcfg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "netcfg" Changes: -------- --- /work/SRC/openSUSE:Factory/netcfg/netcfg.changes 2014-06-18 10:59:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.netcfg.new/netcfg.changes 2014-07-28 06:31:10.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 25 10:46:20 UTC 2014 - pgajdos@suse.com + +- resolve some update scenarios [bnc#883999], [bnc#886443] (private) + with regard to /etc/HOSTNAME -> /etc/hostname change + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netcfg.spec ++++++ --- /var/tmp/diff_new_pack.Yx2OcX/_old 2014-07-28 06:31:11.000000000 +0200 +++ /var/tmp/diff_new_pack.Yx2OcX/_new 2014-07-28 06:31:11.000000000 +0200 @@ -88,11 +88,12 @@ #> to /etc/hostname. This should ensure /etc/HOSTNAME is properly created #> by RPM. if [ "0$1" -ge "2" ]; then - if [ -f /etc/HOSTNAME -a ! -h /etc/HOSTNAME ]; then + if [ -f /etc/HOSTNAME -a ! -L /etc/HOSTNAME ]; then if [ -f /etc/hostname ]; then mv /etc/hostname /etc/hostname.rpmsave fi - mv /etc/HOSTNAME /etc/hostname + ln -f /etc/HOSTNAME /etc/HOSTNAME.rpmsave + rm /etc/HOSTNAME fi fi @@ -102,6 +103,9 @@ test ! -f etc/netgroup.rpmnew && cp etc/netgroup etc/netgroup.rpmnew mv etc/...netgroup.new.rpmnew etc/netgroup fi +if [ -f /etc/HOSTNAME.rpmsave -a ! -L /etc/HOSTNAME.rpmsave ]; then + cp -a /etc/HOSTNAME.rpmsave /etc/hostname +fi exit 0 %files -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de