Added new packages. sync.sh -s for mac now installs brew cask and brew cask apps
This commit is contained in:
parent
f4e7d4bdd0
commit
eea9e4b747
16
sync.sh
16
sync.sh
@ -29,9 +29,17 @@ while getopts ":hbsdtcl" VALUE "$@"; do
|
||||
vim +BundleInstall +qa
|
||||
fi
|
||||
if [ "$VALUE" = "s" ] ; then
|
||||
echo "Installing server applications:"
|
||||
echo $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
||||
sudo apt-get install $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
echo "Installing server applications:"
|
||||
echo $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
||||
sudo apt-get install $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
||||
else
|
||||
if [ -d "/usr/local/Library/Taps/phinze/homebrew-cask" ] ; then
|
||||
brew tap phinze/cask
|
||||
brew cask
|
||||
fi
|
||||
brew cask install textexpander controlplane gimp inkscape adium vlc iterm2 steam
|
||||
fi
|
||||
fi
|
||||
if [ "$VALUE" = "d" ] ; then
|
||||
echo "Installing desktop applications"
|
||||
@ -39,7 +47,7 @@ while getopts ":hbsdtcl" VALUE "$@"; do
|
||||
echo $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
||||
sudo apt-get install $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
||||
else
|
||||
brew install autojump ncdu htop vim youtube-dl tree sshfs ircii
|
||||
brew install autojump ncdu htop vim youtube-dl tree sshfs ircii brew-cask imagemagick node ffmpeg wget
|
||||
fi
|
||||
fi
|
||||
if [ "$VALUE" = "t" ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user