Hello community, here is the log from the commit of package icinga for openSUSE:Factory checked in at 2014-12-21 12:04:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icinga (Old) and /work/SRC/openSUSE:Factory/.icinga.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icinga" Changes: -------- --- /work/SRC/openSUSE:Factory/icinga/icinga.changes 2014-12-16 14:47:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.icinga.new/icinga.changes 2014-12-21 12:04:17.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Dec 13 22:44:00 UTC 2014 - Led <[email protected]> + +- fix bashisms in post scripts + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icinga.spec ++++++ --- /var/tmp/diff_new_pack.c5V7OQ/_old 2014-12-21 12:04:18.000000000 +0100 +++ /var/tmp/diff_new_pack.c5V7OQ/_new 2014-12-21 12:04:18.000000000 +0100 @@ -490,10 +490,10 @@ # First installation: create an alias for the default nagiosadmin user if [ -r etc/aliases ]; then if ! grep -q "^%{name}:" etc/aliases; then - echo -e "%{name}:\troot" >> etc/aliases + echo "%{name}: root" >> etc/aliases %{logmsg} "Added alias for user %{name} to /etc/aliases" if [ -x usr/bin/newaliases ]; then - usr/bin/newaliases &>/dev/null || true + usr/bin/newaliases >/dev/null 2>&1 || true else %{logmsg} "Cannot execute newaliases. Please run it manually." fi @@ -530,7 +530,7 @@ else wwwusr=$(awk '/^[ \t]*User[ \t]+[a-zA-Z0-9]+/ {print $2}' etc/apache2/*.conf) fi -if [ "$wwwusr" == "" ]; then # otherwise, use the default +if [ -z "$wwwusr" ]; then # otherwise, use the default wwwusr=%{icinga_command_user} fi # if apache user is not in cmdgrp, add it -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
