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