From 87a4c62441874df296b209e5ab3adcdde9d2655a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Aug 2012 14:32:50 -0400 Subject: [PATCH] script to setup goobuntu for meeeee --- .bin/goobuntu-vapier-setup | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 .bin/goobuntu-vapier-setup diff --git a/.bin/goobuntu-vapier-setup b/.bin/goobuntu-vapier-setup new file mode 100755 index 0000000..4344765 --- /dev/null +++ b/.bin/goobuntu-vapier-setup @@ -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[@]}" -- 2.39.2