]> git.wh0rd.org Git - home.git/commitdiff
script to setup goobuntu for meeeee
authorMike Frysinger <vapier@gentoo.org>
Thu, 16 Aug 2012 18:32:50 +0000 (14:32 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Aug 2012 20:48:06 +0000 (16:48 -0400)
.bin/goobuntu-vapier-setup [new file with mode: 0755]

diff --git a/.bin/goobuntu-vapier-setup b/.bin/goobuntu-vapier-setup
new file mode 100755 (executable)
index 0000000..4344765
--- /dev/null
@@ -0,0 +1,50 @@
+#!/bin/bash
+pkgs=(
+       clusterssh
+       fetchotp
+       pssh
+       python-mox
+       python-protobuf
+       sharutils
+       unzip
+
+       xfce4
+       kubuntu-desktop
+
+       gkrellm
+       nxclient
+       pidgin
+       pidgin-otr
+       wmctrl
+       xchat
+       xrestop
+       yakuake
+
+       git
+       gdb
+       keychain
+       strace
+       tree
+)
+sudo bash -c '
+set -x
+goobuntu-config -U set custom_etc_sudoers_d true;
+printf "Defaults !tty_tickets\nDefaults timestamp_timeout=360\n" > /etc/sudoers.d/vapier;
+chmod 440 /etc/sudoers.d/vapier;
+
+apt-get -y purge google-chrome-beta;
+apt-get -y install google-chrome-unstable;
+apt-get -y install "$@";
+
+goobuntu-updater;
+
+ln -sf ~vapier/.profile.d/ROOT-bash_profile ~root/.bash_profile;
+for f in .gitconfig .inputrc .nanorc ; do
+       ln -sf ~vapier/${f} ~root/${f};
+done;
+rm -f ~root/.profile;
+echo . ~vapier/.profile.d/ROOT-bashrc > ~root/.bashrc
+
+rm -f /cros
+ln -s /usr/local/src/chromiumos/cros-signing /cros
+' bash "${pkgs[@]}"