From bef682ffc843a77dcee1dfecd3bc1bfc39e5cafd Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sun, 15 May 2022 20:01:28 +0200 Subject: [PATCH] Start and end --- .scripts/update.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.scripts/update.py b/.scripts/update.py index 7b0bc16..dfc481f 100644 --- a/.scripts/update.py +++ b/.scripts/update.py @@ -122,11 +122,8 @@ def update_npm(): def main(input): - if input == "start_build": + if input == "start": start_build() - elif input == "update_and_stop_build": - update_build() - stop_build() elif input == "rpm-ostree": update_rpm_ostree() elif input == "flatpak": @@ -139,6 +136,9 @@ def main(input): update_pipx() elif input == "npm": update_npm() + elif input == "end": + update_build() + stop_build() else: print(f"Input {input} not valid!")