new logic for installing deps

This commit is contained in:
Stefen Auris 2019-10-07 11:59:29 -04:00
parent 218879e4a7
commit 712024dd5c
3 changed files with 35 additions and 2 deletions

11
init.sh
View file

@ -1,7 +1,14 @@
#!/bin/bash
#install pre-req.
echo "installing required packages"
bash deps.sh
echo -n "Which Linux flavor will we be installing programs for? (u/o)"; read answer
if [[ $answer = "U" ]] || [[ $answer = "u" ]]; then
bash udeps.sh
elif [[ $answer = "O" ]] || [[ $answer = "o" ]]; then
bash odeps.sh
else
echo "Aborting!"
exit 1
fi
#setup prezto
echo "Initializing Prezto"