changed libyaml name in debian dependencies

This commit is contained in:
Václav Šmejkal 2023-08-27 12:30:45 +02:00
parent 8e5eff52e4
commit c6957aadd7
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -24,13 +24,13 @@ if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then
exit 1 exit 1
fi fi
COMMON="gcc make tmux libyaml" COMMON="gcc make tmux"
# Get COMMAND # Get COMMAND
if [[ $DISTRO == "Arch" ]]; then if [[ $DISTRO == "Arch" ]]; then
COMMAND="pacman -S --needed --noconfirm $COMMON json-c curl libgit2" COMMAND="pacman -S --needed --noconfirm $COMMON json-c curl libgit2 libyaml"
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
COMMAND="apt install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev" COMMAND="apt install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev libyaml-dev"
else else
# 'Unsupported' distro # 'Unsupported' distro
echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl', 'libgit2', 'tmux', 'libyaml' and 'make' and you'll be fine." echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl', 'libgit2', 'tmux', 'libyaml' and 'make' and you'll be fine."