From 25dbf27a1854a2d08c6d477c83fb0afe0998eb03 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 30 Jul 2022 20:50:06 +0200 Subject: [PATCH] Move some updates to ansible --- .scripts/update.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.scripts/update.py b/.scripts/update.py index 6b88c34..30da85a 100644 --- a/.scripts/update.py +++ b/.scripts/update.py @@ -47,21 +47,6 @@ def update_cargo(): press_to_exit() -def update_pipx(): - lines = cap_live_lines("pipx upgrade-all --include-injected") - - if "did not change" not in out[-1].lower(): - press_to_exit() - - -def update_nvim(): - run('nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"') - - -def update_npm(): - run("npm update --location=global") - - def main(input): if input == "rpm-ostree": update_rpm_ostree() @@ -69,12 +54,6 @@ def main(input): update_flatpak() elif input == "cargo": update_cargo() - elif input == "pipx": - update_pipx() - elif input == "nvim": - update_nvim() - elif input == "npm": - update_npm() else: print(f"Input {input} not valid!")