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!")