]> git.wh0rd.org - home.git/blob - .bin/glinux-vapier-setup
glinux-setup: update package list
[home.git] / .bin / glinux-vapier-setup
1 #!/bin/bash
2
3 pkgs=(
4 cifs-utils
5 clusterssh
6 iotop
7 pavucontrol
8 pssh
9 pylint
10 python3-pip
11 python3-protobuf
12 sharutils
13 unzip
14
15 become
16 goobuntu-remote-unlock
17 lvm2
18 thin-provisioning-tools
19
20 dict
21 elinks
22 feh
23 gimp
24 gkrellm
25 inkscape
26 mplayer
27 mpv
28 vlc
29 wmctrl
30 hexchat
31 xrestop
32 advancecomp
33 jpegoptim
34 konsole
35 okular
36 optipng
37 pngcrush
38 yakuake
39
40 autoconf
41 automake
42 bison
43 ccache
44 clang
45 clang-format
46 dejagnu
47 diffstat
48 flex
49 gcc
50 git
51 git-email
52 git-svn
53 gdb
54 keychain
55 libtool
56 nfs-common
57 patchutils
58 pax-utils
59 pinfo
60 screen
61 strace
62 subversion
63 texinfo
64 tree
65
66 dnsutils
67 gkermit
68 minicom
69 mosh
70 netcat
71 nfs-kernel-server
72 qemu-{user,system,utils}
73 rsh-client
74 telnet-ssl
75 tftp{,d}-hpa
76 whois
77 wireshark
78 xinetd
79
80 adb
81 # Newer adb packages include fastboot.
82 # fastboot
83
84 eterm
85 gnome-terminal
86 mlterm
87 pterm
88 rxvt-unicode
89 stterm
90 xterm
91
92 device-tree-compiler
93 libcap-dev
94 libcap-ng-dev
95 libfdt-dev
96 libftdi-dev
97 liblzma-dev
98 libpixman-1-dev
99 libreadline-dev
100 libusb-1.0-0-dev
101 python3-bs4
102 python3-dev
103 virtualenv
104 zlib1g-dev
105 )
106 sudo bash -c '
107 set -ex
108 glinux-config -U set custom_etc_sudoers_d true
109 printf "Defaults !tty_tickets\nDefaults timestamp_timeout=360\n" > /etc/sudoers.d/vapier
110 chmod 440 /etc/sudoers.d/vapier
111
112 apt-get -y purge zeitgeist*
113 apt-get -y purge thunderbird evolution
114 apt-get -y purge google-chrome-beta
115 apt-get -y install google-chrome-unstable
116 apt-get -y install "$@"
117
118 glinux-updater
119 glinux-remote-unlock enroll
120
121 ln -sf ~vapier/.profile.d/ROOT-bash_profile ~root/.bash_profile
122 for f in .gitconfig .inputrc .nanorc ; do
123 ln -sf ~vapier/${f} ~root/${f}
124 done
125 rm -f ~root/.profile ~root/.bashrc
126 echo . ~vapier/.profile.d/ROOT-bashrc > ~root/.bashrc
127
128 echo -g > /etc/ps1_append
129
130 rm -f /cros
131 #ln -s /usr/local/src/chromiumos/cros-signing /cros
132 ' bash "${pkgs[@]}"