From 2832af4307e6d08990b6e13561da81915a87ab53 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 23 Sep 2024 19:26:44 +0200 Subject: [PATCH] Update update.sh --- update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/update.sh b/update.sh index ffcc8a7..56196bc 100755 --- a/update.sh +++ b/update.sh @@ -162,12 +162,20 @@ sudo nala install -y nodejs # Install platformio printf -- '\033[33m Installing platformio\n\033[37m' +if [ $VER = "24.04" ]; then pipx install platformio pipx ensurepath +else +pip3 install platformio +fi # Install pynvim printf -- '\033[33m Installing pynvim\n\033[37m' +if [ $VER = "24.04" ]; then +sudo nala install -y python3-pynvim +else pip3 install pynvim +fi # Install neovim for node printf -- '\033[33m Installing neovim for node\n\033[37m'