removing Sabayon and Gentoo support due to breakage on Debian/Ubuntu

This commit is contained in:
staticsafe 2012-06-25 09:55:16 -04:00
parent eafb1fbaf1
commit 80fb6c0c20

View File

@ -29,8 +29,6 @@ distrocheck() {
hash pacman &>/dev/null && userdistro="Arch" # For Arch Linux hash pacman &>/dev/null && userdistro="Arch" # For Arch Linux
hash port &>/dev/null && userdistro="OSX" # For OSX, make sure the port binary is in your PATH first. hash port &>/dev/null && userdistro="OSX" # For OSX, make sure the port binary is in your PATH first.
hash pkg_add &>/dev/null && userdistro="FreeBSD" # For FreeBSD hash pkg_add &>/dev/null && userdistro="FreeBSD" # For FreeBSD
hash equo &>/dev/null && userdistro="Sabayon" # For Sabayon
hash emerge &>/dev/null && hash equo &>/dev/null || userdistro="Gentoo" # For Gentoo
} }
installpackages() { installpackages() {
@ -45,10 +43,6 @@ installpackages() {
#echo "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" >> ~/.zshenv # This adds the port binary path, so that zsh can use it after, commented out by default. #echo "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" >> ~/.zshenv # This adds the port binary path, so that zsh can use it after, commented out by default.
elif [[ "$userdistro" == "FreeBSD" && $(uname -s) == "FreeBSD" ]]; then elif [[ "$userdistro" == "FreeBSD" && $(uname -s) == "FreeBSD" ]]; then
sudo pkg_add -r vim zsh tmux git subversion mercurial most py27-pip sudo pkg_add -r vim zsh tmux git subversion mercurial most py27-pip
elif [[ "$userdistro" == "Sabayon" ]]; then
sudo equo install vim zsh tmux git subversion mercurial most python-pip
elif [[ "$userdistro" == "Gentoo" ]]; then
sudo emerge vim zsh tmux git subversion mercurial most python
else else
die 'Your distro does not have a package manager supported by this script, exiting!' die 'Your distro does not have a package manager supported by this script, exiting!'
fi fi