ajout support manjaro

This commit is contained in:
2025-10-06 21:38:36 +02:00
parent 5e9d1a2c1c
commit 17dee6295b

View File

@@ -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