[api] refactoring: configuration directory for the root user is now located at '/etc/bauh'

This commit is contained in:
Vinicius Moreira
2021-11-24 11:56:20 -03:00
parent ea52236ee8
commit a1683b6a7d
8 changed files with 11 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ from bauh.commons import resource
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
SNAP_CACHE_PATH = f'{CACHE_PATH}/snap'
CONFIG_FILE = '{}/snap.yml'.format(CONFIG_PATH)
CONFIG_FILE = f'{CONFIG_PATH}/snap.yml'
CATEGORIES_FILE_PATH = f'{SNAP_CACHE_PATH}/categories.txt'
URL_CATEGORIES_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/snap/categories.txt'
SUGGESTIONS_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/snap/suggestions.txt'