adding more logic for BSD distros
This commit is contained in:
parent
d45e807f8e
commit
fab76291db
|
@ -41,7 +41,7 @@ installpackages() {
|
|||
elif [[ "$userdistro" == "OSX" ]]; then
|
||||
sudo port install vim zsh tmux git-core git-extras subversion most
|
||||
#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" ]]; then
|
||||
elif [[ "$userdistro" == "FreeBSD" && $(uname -s) == "FreeBSD" ]]; then
|
||||
sudo pkg_add -r vim zsh tmux git subversion most
|
||||
else
|
||||
die 'Your distro does not have a package manager supported by this script, exiting!'
|
||||
|
|
Loading…
Reference in New Issue