Skip to content

Commit

Permalink
Developer Tools: Add manjaro support to build script (#3893)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvoth authored May 27, 2022
1 parent 92027a0 commit 9237316
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions scripts/install_linux_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ ARCH_DEPS="boost boost-libs expect jq autoconf shellcheck sqlite python-virtuale
UBUNTU_DEPS="libtool libboost-math-dev expect jq autoconf shellcheck sqlite3 python3-venv build-essential"
FEDORA_DEPS="boost-devel expect jq autoconf ShellCheck sqlite python-virtualenv"

if [ "${DISTRIB}" = "arch" ]; then
pacman -S --refresh --needed --noconfirm $ARCH_DEPS
elif [ "${DISTRIB}" = "fedora" ]; then
dnf -y install $FEDORA_DEPS
else
apt-get update
apt-get -y install $UBUNTU_DEPS
fi
case $DISTRIB in
"arch" | "manjaro")
pacman -S --refresh --needed --noconfirm $ARCH_DEPS
;;
"fedora")
dnf -y install $FEDORA_DEPS
;;
*)
apt-get update
apt-get -y install $UBUNTU_DEPS
;;
esac

0 comments on commit 9237316

Please sign in to comment.