-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_base
More file actions
executable file
·54 lines (36 loc) · 1.16 KB
/
install_base
File metadata and controls
executable file
·54 lines (36 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash -e
source ./script_lib/link.inc
source ./script_lib/install.inc
mkdir ~/bin &> /dev/null && true
# update apt sources
sudo sed -i.tmp '/\bcontrib non-free\b/! s/\(^deb.*$\)/\1 contrib non-free/g' /etc/apt/sources.list && \
sudo rm -f /etc/apt/sources.list.tmp
sudo apt-get update
sudo apt-get install -y vim-nox rar mc nfs-common tmux git build-essential
link_dotfiles .bash_aliases
link_dotfiles .gitconfig
link_dotfiles .gitignore
link_dotfiles .vimrc
link_bin bsync
link_bash_completion bsync
link_bin upgrayedd
upgrayedd -y
if [[ -e ../profile_dirs ]] ; then
link_bin_external ../profile_dirs/profile_dirs.py profile_dirs
else
link_bin profile_dirs
fi
link_bin unjson_tool.py unjson
link_bin reencode-file
link_bin reencode
link_bin reencode-dirs
link_bin image-create
link_bin image-deploy
link_bin audiobook-decode
link_bin delta2time
bashrc_export_variable bash_editor EDITOR=vi
# personal git configurations, this is saved in .gitconfig, but here to show that it is being changed
git config --global init.defaultBranch main
git config --global core.pager cat
git config --global --replace-all --bool push.autoSetupRemote true
echo "finished $0"