Browse Source

Reorganize installation of things

Andrew Swistak 11 years ago
parent
commit
106baa47bd
1 changed files with 8 additions and 6 deletions
  1. 8 6
      scripts/install_dotfiles.sh

+ 8 - 6
scripts/install_dotfiles.sh

@@ -73,18 +73,20 @@ done
 ln -fsn "$DIR"/vim/pathogen/autoload "$DIR"/vim/
 ln -fsn "$DIR"/vim/pathogen/autoload "$DIR"/vim/
 mkdir -p "$DIR"/vim/tmp/{backup,swap,undo}
 mkdir -p "$DIR"/vim/tmp/{backup,swap,undo}
 
 
+if prompt "Install airline glyphs?" N; then
+  yaourt -S powerline-fonts-git
+fi
+
 if prompt "Update git submodules?" N ; then
 if prompt "Update git submodules?" N ; then
   git submodule update --init --recursive
   git submodule update --init --recursive
   git submodule foreach --recursive git pull origin master
   git submodule foreach --recursive git pull origin master
 fi
 fi
 
 
-#Very specific to Arch
-if prompt "Install boost and airline glyphs?" N; then
-  yaourt -S boost powerline-fonts-git
-fi
-
 if prompt "Auto compile YouCompleteMe?" N; then
 if prompt "Auto compile YouCompleteMe?" N; then
-  echo ""
+  if prompt "Install boost?" N; then
+    yaourt -S boost
+  fi
+
   echo "Compiling YouCompleteMe"
   echo "Compiling YouCompleteMe"
   cd "$DIR"/vim/bundle/YouCompleteMe
   cd "$DIR"/vim/bundle/YouCompleteMe
   ./install.sh
   ./install.sh