Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AppRecommender-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AppRecommender
AppRecommender-package
Commits
8b6025a7
Commit
8b6025a7
authored
Aug 17, 2016
by
Luciano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove patch set_install_path
parent
60b0e64b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
series
debian/patches/series
+0
-1
set_install_path.patch
debian/patches/set_install_path.patch
+0
-28
No files found.
debian/patches/series
View file @
8b6025a7
set_install_path.patch
debian/patches/set_install_path.patch
deleted
100644 → 0
View file @
60b0e64b
Description: Set install path
Change install path from the HOME dir to /var/lib/apprecommender
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128@gmail.com>
Last-updated: 2016-08-03
Forwarded: not-needed
Bug: not-needed
--- a/apprecommender/config.py
+++ b/apprecommender/config.py
@@ -53,7 +53,7 @@ class Config(Singleton):
if not hasattr(self, 'initialized'):
# data_source options
self.base_dir = os.environ.get(
- 'APPREC_DATA', '~/.apprecommender')
+ 'APPREC_DATA', '/var/lib/apprecommender')
self.base_dir = os.path.expanduser(self.base_dir)
self.output = os.path.join(self.home_dir, 'apprec.log')
self.user_data_dir = os.path.join(self.base_dir, "user_data/")
@@ -129,7 +129,7 @@ class Config(Singleton):
self.debug = int(self.read_option('general', 'debug'))
self.debug = int(self.read_option('general', 'verbose'))
self.base_dir = os.environ.get(
- 'APPREC_DATA', '~/.apprecommender')
+ 'APPREC_DATA', '/var/lib/apprecommender')
self.base_dir = os.path.expanduser(self.base_dir)
self.output = os.path.join(
self.home_dir, self.read_option('data_sources',
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment