Hello community, here is the log from the commit of package mlocate for openSUSE:Factory checked in at 2014-04-16 07:28:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mlocate (Old) and /work/SRC/openSUSE:Factory/.mlocate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mlocate" Changes: -------- --- /work/SRC/openSUSE:Factory/mlocate/mlocate.changes 2014-04-03 17:11:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mlocate.new/mlocate.changes 2014-04-16 07:28:44.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 15 09:52:00 UTC 2014 - tchvatal@suse.com + +- Update once more to always hit the same code and to avoid + regressions that are hit only under some setup scenarios. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mlocate.cron ++++++ --- /var/tmp/diff_new_pack.ggaVUo/_old 2014-04-16 07:28:45.000000000 +0200 +++ /var/tmp/diff_new_pack.ggaVUo/_new 2014-04-16 07:28:45.000000000 +0200 @@ -56,15 +56,13 @@ # run the updatedb if possible if [ -x /usr/bin/updatedb ]; then - if [ -n "${RUN_UPDATEDB_AS}" ] ; then - # change the perms to the var directory to our desired user - chown -R "${RUN_UPDATEDB_AS}":root /var/lib/mlocate - # change the user and run the updatedb under it - /usr/bin/su "${RUN_UPDATEDB_AS}" -c "/usr/bin/updatedb ${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS}" - else - # just run it as root - /usr/bin/updatedb ${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS} + if [ -z "${RUN_UPDATEDB_AS}" ] ; then + RUN_UPDATEDB_AS=root fi + # change the perms to the var directory to our desired user + chown -R "${RUN_UPDATEDB_AS}":root /var/lib/mlocate + # change the user and run the updatedb under it + /usr/bin/su "${RUN_UPDATEDB_AS}" -c "/usr/bin/updatedb ${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS}" else echo >&2 "Warning: \"/usr/bin/updatedb\" is not executable, unable to run updatedb." exit 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org