Commit 48e4c360 authored by Lucas Moura's avatar Lucas Moura

Add apt hook to trigger a database rebuild

parent 98b5c6f8
Pipeline #3884054 failed with stage
in 48 seconds
// Update the package xapian database from the new index files
APT::Update::Post-Invoke { "[ ! -x /usr/bin/apprecommender ] || runuser -c 'apprec --init > /dev/null; apprec --train > /dev/null' apprec"; };
debian/99apprecommender etc/apt/apt.conf.d/
......@@ -5,6 +5,7 @@ apprecommender (0.7.1-1) UNRELEASED; urgency=medium
* Add crontab to keep updating apprecommender database weekly
* Add postinst script to set apprecommender database
* Add postrm script for package purge
* Add script to allow apt update command to trigger a database rebuild
* debian/tests: update scrips to run with apprec user
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128@gmail.com> Tue, 02 Aug 2016 00:03:50 -0300
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment