diff --git a/nvim_setup.sh b/nvim_setup.sh index 61a09bd..c62df3f 100644 --- a/nvim_setup.sh +++ b/nvim_setup.sh @@ -5,6 +5,8 @@ if command -v apt-get &> /dev/null; then DISTRO="debian" elif command -v apk &> /dev/null; then DISTRO="alpine" +elif command -v pacman &> /dev/null;then + DISTRO="manjaro" else echo "Distribution non reconnue. ArrĂȘt." exit 1 @@ -26,6 +28,10 @@ case "$DISTRO" in su -c "apk update" su -c "apk add neovim git curl clang" ;; + "manjaro") + su -c "pacman -Syu" + su -c "pacman -S neovim git curl gcc" + ;; *) echo "Distribution non supportĂ©e: $DISTRO" exit 1