From: Mike Frysinger Date: Thu, 16 Aug 2012 18:32:50 +0000 (-0400) Subject: script to setup goobuntu for meeeee X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=87a4c62441874df296b209e5ab3adcdde9d2655a;p=home.git script to setup goobuntu for meeeee --- 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[@]}"