mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 07:34:16 +02:00
[api] refactoring: caching directory for root user is now /var/cache/bauh
This commit is contained in:
@@ -10,7 +10,7 @@ from typing import Optional
|
||||
from bauh.api.paths import CACHE_PATH
|
||||
from bauh.commons.system import ProcessHandler
|
||||
|
||||
SYNC_FILE = '{}/arch/db_sync'.format(CACHE_PATH)
|
||||
SYNC_FILE = f'{CACHE_PATH}/arch/db_sync'
|
||||
|
||||
|
||||
def should_sync(arch_config: dict, aur_supported: bool, handler: Optional[ProcessHandler], logger: logging.Logger):
|
||||
|
||||
Reference in New Issue
Block a user