Added mini.txt for mini installations. Removed -l flag and replaced it with pip -p flag

This commit is contained in:
Austen Adler 2014-11-24 18:45:48 -05:00
parent dcd1b1bdf9
commit 4d2dac54e5
4 changed files with 39 additions and 18 deletions

30
scripts/mini.txt Normal file
View File

@ -0,0 +1,30 @@
sudo
lynx-cur
unzip
curl
wget
parted
openssh-server
python-pip
screen
sshfs
tmux
git
lm-sensors
openvpn
nload
zsh
trash-cli
multitail
gdebi
libpam-google-authenticator
macchanger
sshuttle
w3m
aircrack-ng
pv
tshark
secure-delete
ncdu
nmap
traceroute

View File

@ -3,3 +3,4 @@ twisted
matplotlib matplotlib
numpy numpy
tornado tornado
mps-youtube

View File

@ -15,7 +15,6 @@ wget
parted parted
php5-json php5-json
php5-gd php5-gd
orpie
#libpython2.6 #libpython2.6
python-simplejson python-simplejson
#vim Gotta compile this manually now... #vim Gotta compile this manually now...
@ -27,13 +26,11 @@ aptitude
screen screen
tmux tmux
git git
subversion
#ffmpeg #ffmpeg
sshfs sshfs
wine wine
bum bum
alien alien
lynx-cur
lm-sensors lm-sensors
openvpn openvpn
autojump autojump
@ -71,7 +68,7 @@ w3m
aircrack-ng aircrack-ng
tshark tshark
secure-delete secure-delete
encfs
fsniper fsniper
cryptsetup cryptsetup
pv pv
mplayer

View File

@ -1,13 +1,13 @@
ABSPATH=$(cd "$(dirname "$0")/.."; pwd) ABSPATH=$(cd "$(dirname "$0")/.."; pwd)
while getopts ":hbsdclw" VALUE "$@"; do while getopts ":hbsdpcw" VALUE "$@"; do
if [ "$VALUE" = "h" ] ; then if [ "$VALUE" = "h" ] ; then
echo "sync.sh syncs configuration files, applications, and Vim bundles between computers" echo "sync.sh syncs configuration files, applications, and Vim bundles between computers"
echo " -h Shows this help" echo " -h Shows this help"
echo " -b Syncs Vim bundles" echo " -b Syncs Vim bundles"
echo " -s Syncs computer with server applications in server.txt" echo " -s Syncs computer with server applications in server.txt"
echo " -d Syncs computer with desktop applications in desktop.txt" echo " -d Syncs computer with desktop applications in desktop.txt"
echo " -p Syncs computer with pip applications in pip.txt"
echo " -c Syncs other configuration files" echo " -c Syncs other configuration files"
echo " -l Links standard ~ directories to lowercase"
echo " -w Installs wemux [requires vim]" echo " -w Installs wemux [requires vim]"
fi fi
if [ "$VALUE" = "b" ] ; then if [ "$VALUE" = "b" ] ; then
@ -39,6 +39,11 @@ while getopts ":hbsdclw" VALUE "$@"; do
brew install ncdu htop youtube-dl tree sshfs ircii imagemagick node ffmpeg wget lua libconfig readline meld brew install ncdu htop youtube-dl tree sshfs ircii imagemagick node ffmpeg wget lua libconfig readline meld
fi fi
fi fi
if [ "$VALUE" = "p" ] ; then
echo "Installing pip applications"
echo $(grep -vE "^\s*#" $ABSPATH/scripts/pip.txt | tr "\n" " ")
sudo pip install $(grep -vE "^\s*#" $ABSPATH/scripts/pip.txt | tr "\n" " ")
fi
if [ "$VALUE" = "c" ] ; then if [ "$VALUE" = "c" ] ; then
echo "Syncing config files" echo "Syncing config files"
if which trash >/dev/null; then if which trash >/dev/null; then
@ -82,18 +87,6 @@ while getopts ":hbsdclw" VALUE "$@"; do
mkdir -p ~/.i3 mkdir -p ~/.i3
fi fi
fi fi
if [ "$VALUE" = "l" ] ; then
echo "Linking standard directories..."
mkdir -p ~/Applications
ln -s ~/Applications ~/applications
ln -s ~/Desktop ~/desktop
ln -s ~/Documents ~/documents
ln -s ~/Downloads ~/downloads
ln -s ~/Music ~/music
ln -s ~/Pictures ~/pictures
ln -s ~/Videos ~/videos
echo "Done"
fi
if [ "$VALUE" = "w" ] ; then if [ "$VALUE" = "w" ] ; then
echo "Installing wemux..." echo "Installing wemux..."
sudo git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux sudo git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux