update_manager: correct relative paths

Update the paths to Moonraker and the supplemental configuration file.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>

Update update_manager.py
This commit is contained in:
Arksine 2021-05-26 11:28:51 -04:00 committed by Eric Callahan
parent 03892a517e
commit 5b260a5ba6
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ if TYPE_CHECKING:
DBComp = database.MoonrakerDatabase
MOONRAKER_PATH = os.path.normpath(os.path.join(
os.path.dirname(__file__), "../.."))
os.path.dirname(__file__), "../../.."))
SUPPLEMENTAL_CFG_PATH = os.path.join(
MOONRAKER_PATH, "scripts/update_manager.conf")
os.path.dirname(__file__), "update_manager.conf")
APT_CMD = "sudo DEBIAN_FRONTEND=noninteractive apt-get"
SUPPORTED_DISTROS = ["debian"]