added gmp dependency
This commit is contained in:
parent
07c82120dd
commit
b1add93eca
@ -25,13 +25,13 @@ if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
COMMON="gcc make tmux curl"
|
COMMON="gcc make tmux curl"
|
||||||
ARCH_GENTOO_COMMON="$COMMON json-c libgit2"
|
ARCH_GENTOO_COMMON="$COMMON json-c libgit2 gmp"
|
||||||
|
|
||||||
# Get COMMAND
|
# Get COMMAND
|
||||||
if [[ $DISTRO == "Arch" ]]; then
|
if [[ $DISTRO == "Arch" ]]; then
|
||||||
COMMAND="pacman -S --needed --noconfirm $ARCH_GENTOO_COMMON"
|
COMMAND="pacman -S --needed --noconfirm $ARCH_GENTOO_COMMON"
|
||||||
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 libgmp-dev"
|
||||||
elif [[ $DISTRO == "Gentoo" ]]; then
|
elif [[ $DISTRO == "Gentoo" ]]; then
|
||||||
COMMAND="emerge -vn $ARCH_GENTOO_COMMON"
|
COMMAND="emerge -vn $ARCH_GENTOO_COMMON"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user