From 9964c211c5a38a976f4bfbbcc4f2be628fd5a2d3 Mon Sep 17 00:00:00 2001 From: Austen Date: Tue, 13 May 2014 23:39:26 -0400 Subject: [PATCH] Added desktop and server application syncing --- desktop.txt | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++ server.txt | 31 +++++++++++++++++++++++++ sync.sh | 12 +++++++++- 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 desktop.txt create mode 100644 server.txt diff --git a/desktop.txt b/desktop.txt new file mode 100644 index 0000000..6356049 --- /dev/null +++ b/desktop.txt @@ -0,0 +1,65 @@ +#sudo apt-get update;sudo apt-get upgrade;sudo apt-get install $(grep -vE "^\s*#" apps.txt | tr "\n" " ") +#apt-get remove ubuntuone* python3-oneconf +synapse +synaptic +#python3.2 +python-pip +python-glade2 +#pip install twisted argparse pygments +vim +meld +compiz-plugins-extra +compizconfig-settings-manager +audacity +vlc +gimp +cups-pdf +filezilla +ntp +screen +tmux +subversion +git +orpie +terminator +ffmpeg +winff +youtube-dl +tasksel +#tasksel install lamp-server +php5-json +php5-gd +php-soap +bum +cplay +openssh-server +alien +ubuntu-restricted-extras +lynx-cur +unzip +#openjdk7-jre +docky +curl +wget +kdenlive +gparted +trash-cli +pidgin +diodon +orpie +mysql-workbench +synergy +wireshark +cplay +shutter +wine +sshfs +gtk-redshift +lm-sensors +unetbootin +#clemetine +#IN STARTUP ITEMS: gtk-redshift -l 36.3:-80.3 -t 6500:4000 +#sshfs stonewareslord@10.0.1.201:/var/www/ /mnt +#FOR CAFFEINE sudo add-apt-repository ppa:caffeine-developers/ppa +#caffeine +#variety owncloud-client diff --git a/server.txt b/server.txt new file mode 100644 index 0000000..1cec520 --- /dev/null +++ b/server.txt @@ -0,0 +1,31 @@ +tasksel +php5-gd +php5-curl +openssh-server +lynx-cur +unzip +curl +wget +parted +finch +sshfs +php5-json +php5-gd +orpie +libpython2.6 +python-simplejson +vim +python-pip +subversion +php-soap +orpie +aptitude +screen +tmux +git +subversion +ffmpeg +bum +alien +lynx-cur +lm-sensors diff --git a/sync.sh b/sync.sh index ff01e80..48df79f 100755 --- a/sync.sh +++ b/sync.sh @@ -1,4 +1,4 @@ -while getopts :bo:t option +while getopts :b:o:t:ds option do case "$option" in b) @@ -13,6 +13,16 @@ do trash ~/.tmux.conf ln -s ${PWD}/tmux.conf ~/.tmux.conf ;; + d) + #Install desktop applications + echo "Preparing desktop installation" + sudo apt-get update;sudo apt-get upgrade;sudo apt-get install $(grep -vE "^\s*#" desktop.txt | tr "\n" " ") + ;; + s) + #Install server applications + echo "Preparing server installation" + sudo apt-get update;sudo apt-get upgrade;sudo apt-get install $(grep -vE "^\s*#" server.txt | tr "\n" " ") + ;; o) exit 0 ;;