[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

@@ -8,9 +8,9 @@ from bauh.commons import resource
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
SUGGESTIONS_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/flatpak/suggestions.txt'
CONFIG_FILE = '{}/flatpak.yml'.format(CONFIG_PATH)
CONFIG_DIR = '{}/flatpak'.format(CONFIG_PATH)
UPDATES_IGNORED_FILE = '{}/updates_ignored.txt'.format(CONFIG_DIR)
CONFIG_FILE = f'{CONFIG_PATH}/flatpak.yml'
CONFIG_DIR = f'{CONFIG_PATH}/flatpak'
UPDATES_IGNORED_FILE = f'{CONFIG_DIR}/updates_ignored.txt'
EXPORTS_PATH = '{}/.local/share/flatpak/exports/share'.format(str(Path.home()))
VERSION_1_2 = parse_version('1.2')
VERSION_1_3 = parse_version('1.3')