]> git.wh0rd.org - home.git/blame - .bin/goobuntu-vapier-setup
handle both verbose and non-verbose output
[home.git] / .bin / goobuntu-vapier-setup
CommitLineData
87a4c624
MF
1#!/bin/bash
2pkgs=(
3 clusterssh
4 fetchotp
d25382c2 5 pavucontrol
87a4c624
MF
6 pssh
7 python-mox
8 python-protobuf
9 sharutils
10 unzip
11
12 xfce4
13 kubuntu-desktop
14
15 gkrellm
16 nxclient
17 pidgin
18 pidgin-otr
19 wmctrl
20 xchat
21 xrestop
22 yakuake
23
d25382c2 24 ccache
87a4c624
MF
25 git
26 gdb
27 keychain
d25382c2 28 pax-utils
87a4c624
MF
29 strace
30 tree
31)
32sudo bash -c '
33set -x
d25382c2
MF
34goobuntu-config -U set custom_etc_sudoers_d true
35printf "Defaults !tty_tickets\nDefaults timestamp_timeout=360\n" > /etc/sudoers.d/vapier
36chmod 440 /etc/sudoers.d/vapier
87a4c624 37
d25382c2
MF
38apt-get -y purge google-chrome-beta
39apt-get -y install google-chrome-unstable
40apt-get -y install "$@"
87a4c624 41
d25382c2 42goobuntu-updater
87a4c624 43
d25382c2 44ln -sf ~vapier/.profile.d/ROOT-bash_profile ~root/.bash_profile
87a4c624 45for f in .gitconfig .inputrc .nanorc ; do
d25382c2
MF
46 ln -sf ~vapier/${f} ~root/${f}
47done
48rm -f ~root/.profile
87a4c624
MF
49echo . ~vapier/.profile.d/ROOT-bashrc > ~root/.bashrc
50
d25382c2
MF
51echo -g > /etc/ps1_append
52
87a4c624
MF
53rm -f /cros
54ln -s /usr/local/src/chromiumos/cros-signing /cros
55' bash "${pkgs[@]}"