Browse Source

install.sh: add dnsutils (for dig)

Brennen Bearnes 3 months ago
parent
commit
20c456b713
1 changed files with 20 additions and 17 deletions
  1. 20
    17
      install.sh

+ 20
- 17
install.sh View File

@@ -4,18 +4,18 @@ KIT_ROOT=$(pwd)
4 4
 
5 5
 echo "installing kit from $KIT_ROOT"
6 6
 
7
-echo "installing package prereqs"
7
+echo 'installing package prereqs'
8 8
 sudo apt-get install build-essential xterm tmux vim perl ack-grep \
9 9
   git git-gui htop zsh suckless-tools figlet xmonad trayer xmobar \
10 10
   volumeicon-alsa curl jq byzanz festival clipit redshift-gtk ranger \
11 11
   rofi xsettingsd wmctrl lynx perl-doc dict moreutils myrepos etckeeper \
12 12
   bzr cvs darcs mercurial subversion subversion-tools dunst i3lock \
13
-  fzf xclip xautolock pngphoon tree scrot pandoc
13
+  fzf xclip xautolock pngphoon tree scrot pandoc dnsutils
14 14
 
15
-echo "installing perl dependencies"
16
-sudo cpan -i Module::Build
15
+echo 'installing perl dependencies'
16
+sudo cpan -i Module::Build App::WRT
17 17
 
18
-echo "vim setup"
18
+echo 'vim setup'
19 19
   mkdir -p ~/.vim/bundle
20 20
   if [ ! -f ~/.vimrc ]; then
21 21
     ln -s "$KIT_ROOT/home/.vimrc" "$HOME/.vimrc"
@@ -28,7 +28,7 @@ echo "vim setup"
28 28
   fi
29 29
   vim +PluginInstall
30 30
 
31
-echo "xmonad setup"
31
+echo 'xmonad setup'
32 32
 echo "(don't forget to point /usr/share/xsessions/xmonad.desktop at xmonad.start)"
33 33
   if [ ! -d ~/.xmonad ]; then
34 34
     ln -s "$KIT_ROOT/home/.xmonad" "$HOME/.xmonad"
@@ -40,22 +40,25 @@ echo "(don't forget to point /usr/share/xsessions/xmonad.desktop at xmonad.start
40 40
     ln -s "$KIT_ROOT/home/.xsettingsd" "$HOME/.xsettingsd"
41 41
   fi
42 42
 
43
-echo "~/bin"
43
+# shellcheck disable=SC2088
44
+echo '~/bin'
44 45
   if [ ! -d ~/bin ]; then
45 46
     ln -s "$KIT_ROOT/home/bin" "$HOME/bin"
46 47
   fi
47 48
 
48
-echo "~/fragments"
49
+# shellcheck disable=SC2088
50
+echo '~/fragments'
49 51
   if [ ! -d ~/fragments ]; then
50 52
     ln -s "$KIT_ROOT/home/fragments" "$HOME/fragments"
51 53
   fi
52 54
 
53
-echo "~/cheatsheets"
55
+# shellcheck disable=SC2088
56
+echo '~/cheatsheets'
54 57
   if [ ! -d ~/cheatsheets ]; then
55 58
     ln -s "$KIT_ROOT/home/cheatsheets" "$HOME/cheatsheets"
56 59
   fi
57 60
 
58
-echo "shell setup"
61
+echo 'shell setup'
59 62
   if [ ! -f ~/.zshrc ]; then
60 63
     ln -s "$KIT_ROOT/home/.zshrc" "$HOME/.zshrc"
61 64
   fi
@@ -66,7 +69,7 @@ echo "shell setup"
66 69
     ln -s "$KIT_ROOT/home/.sh_common" "$HOME/.sh_common"
67 70
   fi
68 71
 
69
-echo "tmux / screen setup"
72
+echo 'tmux / screen setup'
70 73
   if [ ! -f ~/.tmux.conf ]; then
71 74
     ln -s "$KIT_ROOT/home/.tmux.conf" "$HOME/.tmux.conf"
72 75
   fi
@@ -74,19 +77,19 @@ echo "tmux / screen setup"
74 77
     ln -s "$KIT_ROOT/home/.screenrc" "$HOME/.screenrc"
75 78
   fi
76 79
 
77
-echo "git setup"
80
+echo 'git setup'
78 81
   if [ ! -f ~/.gitconfig ]; then
79 82
     ln -s "$KIT_ROOT/home/.gitconfig" "$HOME/.gitconfig"
80 83
   fi
81 84
 
82
-echo "lynx setup"
85
+echo 'lynx setup'
83 86
   if [ ! -f ~/.lynxrc ]; then
84 87
     ln -s "$KIT_ROOT/home/.lynxrc" "$HOME/.lynxrc"
85 88
   fi
86 89
 
87
-echo "keyboard setup (Ctrl and CapsLock swap)"
90
+echo 'keyboard setup (Ctrl and CapsLock swap)'
88 91
   sudo cp etc/default/keyboard /etc/default/keyboard
89 92
 
90
-echo "Remember to:"
91
-echo "  - install commandlog from https://code.p1k3.com/gitea/brennen/commandlog"
92
-echo "  - chsh"
93
+echo 'Remember to:'
94
+echo '  - install commandlog from https://code.p1k3.com/gitea/brennen/commandlog'
95
+echo '  - chsh'

Loading…
Cancel
Save