added gentoo installation into config
This commit is contained in:
parent
c6957aadd7
commit
6d09e40e33
@ -31,6 +31,14 @@ if [[ $DISTRO == "Arch" ]]; then
|
|||||||
COMMAND="pacman -S --needed --noconfirm $COMMON json-c curl libgit2 libyaml"
|
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 libyaml-dev"
|
COMMAND="apt install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev libyaml-dev"
|
||||||
|
elif [[ $DISTRO == "Gentoo" ]]; then
|
||||||
|
COMMAND="emerge -vn gcc json-c curl make libgit2 tmux"
|
||||||
|
|
||||||
|
# Add
|
||||||
|
echo "LDPATH=/usr/lib/libwhy2.so" > /etc/env.d/99why2-core
|
||||||
|
echo "LDPATH=/usr/lib/libwhy2-logger.so" > /etc/env.d/99why2-logger
|
||||||
|
echo "LDPATH=/usr/lib/libwhy2-chat.so" > /etc/env.d/99why2-chat
|
||||||
|
env-update && source /etc/profile
|
||||||
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."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user