ajout support manjaro
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user