ajout support manjaro
This commit is contained in:
@@ -5,6 +5,8 @@ if command -v apt-get &> /dev/null; then
|
|||||||
DISTRO="debian"
|
DISTRO="debian"
|
||||||
elif command -v apk &> /dev/null; then
|
elif command -v apk &> /dev/null; then
|
||||||
DISTRO="alpine"
|
DISTRO="alpine"
|
||||||
|
elif command -v pacman &> /dev/null;then
|
||||||
|
DISTRO="manjaro"
|
||||||
else
|
else
|
||||||
echo "Distribution non reconnue. Arrêt."
|
echo "Distribution non reconnue. Arrêt."
|
||||||
exit 1
|
exit 1
|
||||||
@@ -26,6 +28,10 @@ case "$DISTRO" in
|
|||||||
su -c "apk update"
|
su -c "apk update"
|
||||||
su -c "apk add neovim git curl clang"
|
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"
|
echo "Distribution non supportée: $DISTRO"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user