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
|
vim +BundleInstall +qa
|
||||||
fi
|
fi
|
||||||
if [ "$VALUE" = "s" ] ; then
|
if [ "$VALUE" = "s" ] ; then
|
||||||
echo "Installing server applications:"
|
if [ "$(uname)" != "Darwin" ]; then
|
||||||
echo $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
echo "Installing server applications:"
|
||||||
sudo apt-get install $(grep -vE "^\s*#" server.txt | tr "\n" " ")
|
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
|
fi
|
||||||
if [ "$VALUE" = "d" ] ; then
|
if [ "$VALUE" = "d" ] ; then
|
||||||
echo "Installing desktop applications"
|
echo "Installing desktop applications"
|
||||||
@ -39,7 +47,7 @@ while getopts ":hbsdtcl" VALUE "$@"; do
|
|||||||
echo $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
echo $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
||||||
sudo apt-get install $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
sudo apt-get install $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
|
||||||
else
|
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
|
||||||
fi
|
fi
|
||||||
if [ "$VALUE" = "t" ] ; then
|
if [ "$VALUE" = "t" ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user