add_project_arguments('-DGROUPNAME="' + get_option('locategroup') + '"', language: 'cpp')
add_project_arguments('-DUPDATEDB_CONF="/etc/updatedb.conf"', language: 'cpp')
-add_project_arguments('-DDBFILE="/var/lib/mlocate/plocate.db"', language: 'cpp')
+add_project_arguments('-DDBFILE="/var/lib/plocate/plocate.db"', language: 'cpp')
add_project_arguments('-DPACKAGE_NAME="plocate"', language: 'cpp')
add_project_arguments('-DPACKAGE_VERSION="' + meson.project_version() + '"', language: 'cpp')
add_project_arguments('-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"', language: 'cpp')
option('install_cron', type: 'boolean', value: true, description: 'Install update script into /etc/cron.daily')
-option('locategroup', type: 'string', value: 'mlocate', description: 'Group that the install script will use for the .db file')
+option('locategroup', type: 'string', value: 'plocate', description: 'Group that the install script will use for the .db file')
LOCATEGROUP=@locategroup@
else
SBINDIR=/usr/local/sbin
- LOCATEGROUP=mlocate
+ LOCATEGROUP=plocate
fi
-$SBINDIR/plocate-build /var/lib/mlocate/mlocate.db /var/lib/mlocate/plocate.db.new
-chgrp $LOCATEGROUP /var/lib/mlocate/plocate.db.new
-mv /var/lib/mlocate/plocate.db.new /var/lib/mlocate/plocate.db
+$SBINDIR/plocate-build /var/lib/mlocate/mlocate.db /var/lib/plocate/plocate.db.new
+chgrp $LOCATEGROUP /var/lib/plocate/plocate.db.new
+mv /var/lib/plocate/plocate.db.new /var/lib/plocate/plocate.db