Added mini.txt for mini installations. Removed -l flag and replaced it with pip -p flag
This commit is contained in:
parent
dcd1b1bdf9
commit
4d2dac54e5
30
scripts/mini.txt
Normal file
30
scripts/mini.txt
Normal 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
|
@ -3,3 +3,4 @@ twisted
|
||||
matplotlib
|
||||
numpy
|
||||
tornado
|
||||
mps-youtube
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user