Commit 4ec4bb50 authored by Lucas Moura's avatar Lucas Moura

Remove unnecessary patch on

parent a7ec0d48
......@@ -2,7 +2,6 @@ apprecommender (0.7-1) UNRELEASED; urgency=medium
* New upstream release (Closes: #831217)
* Add patch to change database install location
* Add patch to update which dirs the --init command removes
* Add crontab to keep updating apprecommender database daily
* Add postinst script to set apprecommender database
* Add postrm script for package purge
Description: Update init command
Since apprecommender database files now belongs to the apprec user and
these files are stored in /var/lib/apprecommender, the --init command
should not remove the /var/lib/apprecommender dir, but just its subdirectories
Author: Lucas Albuquerque Medeiros de Moura <>
Last-updated: 2016-08-04
Forwarded: not-needed
Bug: not-needed
--- a/apprecommender/
+++ b/apprecommender/
@@ -105,9 +105,10 @@ class Initialize:
if os.path.exists(self.config.base_dir):
- shutil.rmtree(self.config.base_dir)
+ shutil.rmtree(self.config.user_data_dir)
+ shutil.rmtree(self.config.axi_desktopapps)
+ shutil.rmtree(self.config.filters_dir)
- os.makedirs(self.config.base_dir)
except OSError:
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