1. David Jones
  2. setup

Commits

David Jones  committed 53573be

cleanup scripts

  • Participants
  • Parent commits 594cb5c
  • Branches master

Comments (0)

Files changed (2)

File setup_home.sh

View file
 if [[ ! -f $REPO_DIR/emacs2/local/custom.el ]]; then
     touch $REPO_DIR/emacs2/local/custom.el
 fi
+
+from_bitbucket_hg config
+$REPO_DIR/config/setup.sh

File ubuntu_setup.sh

View file
-#!/bin/bash
-
-
-apt-get install make
-apt-get install zsh zsh-doc
-apt-get install emacs24
-apt-get install mercurial
-apt-get install git
-apt-get install keychain gnupg-agent
-apt-get install python3
-apt-get install python3-pip binutils-doc debian-keyring gcc-4.7-doc libstdc++6-4.7-dbg \
-    gcc-multilib autoconf  automake1.9 libtool flex bison gdb \
-    gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev gcc-4.7-locales libgcc1-dbg \
-    libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold \
-    glibc-doc libstdc++6-4.7-doc
-
-apt-get install  autoconf2.13 autoconf-archive gnu-standards \
-    autoconf-doc gettext automake1.9-doc bison-doc \
-    g++-multilib g++-4.7-multilib lib64mudflap0 libx32mudflap0 \
-    gdb-doc gdbserver libtool-doc \
+#!/bin/zsh -x
+
+
+echo "Run as sudo to install stuff that I use a lot"
+
+
+packages=(
+    autoconf
+    autoconf-archive
+    autoconf-doc
+    autoconf2.13
     automake
+    automake-doc
+    binutils-doc
+    binutils-gold
+    bison
+    bison-doc
+    build-essential
+    debian-keyring
+    emacs24
+    emacs24-el
+    flex
+    g++-4.7-multilib
+    g++-multilib
+    gcc-4.7-doc
+    gcc-4.7-locales
+    gcc-4.7-multilib
+    gcc-doc
+    gcc-multilib
+    gdb
+    gdb-doc
+    gdbserver
+    gettext
+    gfortran
+    gfortran-doc
+    gfortran-multilib
+    git
+    glibc-doc
+    gnu-standards
+    gnupg-agent
+    keychain
+    lib64mudflap0
+    libgcc1-dbg
+    libgomp1-dbg
+    libitm1-dbg
+    libmudflap0-4.7-dev
+    libmudflap0-dbg
+    libquadmath0-dbg
+    libstdc++6-4.7-dbg
+    libstdc++6-4.7-doc
+    libtool
+    libtool-doc
+    libx32mudflap0
+    make
+    make-doc
+    mercurial
+    python3
+    python3-pip
+    zsh-doc
+)
+
+for pack in $packages; do
+    apt-get --yes install $pack
+done
+
 
-apt-get install gfortran gfortran-doc gfortran-multilib
 
 # doc-base?