mlocate: fixed handling of prunepaths

This update fixes the following issue with mlocate:
- bnc#861955:
+ Move the UPDATEDB_ variables parsing to cron service to have it working there as the upstream bash config is not exactly shell interpreted.
* Sadly this way if user runs updatedb by hand it gets not properly populated, but at least the cron works with backcompat way.
+ Also respect the UPDATEDB_ when not running as root in the cron job.
+ Include findutils-locate variables in updatedb.conf if user still have them specified.
* This ensures we can still load the variables user can specified in the /etc/sysconfig/locate namely UPDATEDB_PRUNEPATHS and UPDATEDB_PRUNEFS
- Update comments in sysconfig.locate a bit to reflect reality.

Fixed bugs
bnc#861955
mlocate does not respect prunepaths
Selected Binaries
openSUSE Build Service is sponsored by