From 4d2dac54e5f980ff59bd8cc7635647898b3b86bc Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 24 Nov 2014 18:45:48 -0500 Subject: [PATCH] Added mini.txt for mini installations. Removed -l flag and replaced it with pip -p flag --- scripts/mini.txt | 30 ++++++++++++++++++++++++++++++ scripts/pip.txt | 1 + scripts/server.txt | 5 +---- scripts/sync.sh | 21 +++++++-------------- 4 files changed, 39 insertions(+), 18 deletions(-) create mode 100644 scripts/mini.txt diff --git a/scripts/mini.txt b/scripts/mini.txt new file mode 100644 index 0000000..f8280e5 --- /dev/null +++ b/scripts/mini.txt @@ -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 diff --git a/scripts/pip.txt b/scripts/pip.txt index 5747e51..cbc5bf9 100644 --- a/scripts/pip.txt +++ b/scripts/pip.txt @@ -3,3 +3,4 @@ twisted matplotlib numpy tornado +mps-youtube diff --git a/scripts/server.txt b/scripts/server.txt index 39a5811..c2065f0 100644 --- a/scripts/server.txt +++ b/scripts/server.txt @@ -15,7 +15,6 @@ wget parted php5-json php5-gd -orpie #libpython2.6 python-simplejson #vim Gotta compile this manually now... @@ -27,13 +26,11 @@ aptitude screen tmux git -subversion #ffmpeg sshfs wine bum alien -lynx-cur lm-sensors openvpn autojump @@ -71,7 +68,7 @@ w3m aircrack-ng tshark secure-delete -encfs fsniper cryptsetup pv +mplayer diff --git a/scripts/sync.sh b/scripts/sync.sh index 70dcd22..91fdecc 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -1,13 +1,13 @@ ABSPATH=$(cd "$(dirname "$0")/.."; pwd) -while getopts ":hbsdclw" VALUE "$@"; do +while getopts ":hbsdpcw" VALUE "$@"; do if [ "$VALUE" = "h" ] ; then echo "sync.sh syncs configuration files, applications, and Vim bundles between computers" echo " -h Shows this help" echo " -b Syncs Vim bundles" echo " -s Syncs computer with server applications in server.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 " -l Links standard ~ directories to lowercase" echo " -w Installs wemux [requires vim]" fi 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 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 echo "Syncing config files" if which trash >/dev/null; then @@ -82,18 +87,6 @@ while getopts ":hbsdclw" VALUE "$@"; do mkdir -p ~/.i3 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 echo "Installing wemux..." sudo git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux