diff --git a/deps.sh b/deps.sh new file mode 100755 index 0000000..0648c49 --- /dev/null +++ b/deps.sh @@ -0,0 +1,29 @@ +#!/bin/sh +#These are the base dependencies for any install + +echo "installing base dependencies" +sudo apt-get -my install git \ + stow \ + etckeeper \ + tmux \ + zsh \ + vim \ + powerline\ + htop \ + mc \ + curl \ +# byobu \ + +read -p "Does this system need ssh access?" -n 1 -r + if [[ ! $REPLY =~ ^[Yy]$ ]] + then sudo apt-get install openssh-server + fi +read -p "Does this system have a GUI?" -n 1 -r + if [[ ! $REPLY = [Yy]$ ]] + then sudo apt-get install emacs + else sudo apt-get install emacs-nox + fi + +#echo "enabling byobu" +#byobu-enable + diff --git a/deps.zsh b/deps.zsh deleted file mode 100755 index 929577e..0000000 --- a/deps.zsh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -#These are the base dependencies for any install - -echo "installing base dependencies" -sudo apt-get -m install openssh-server \ - stow \ - tmux \ - zsh \ - vim \ - powerline\ - htop \ - mc \ - curl \ -# byobu \ - #emacs need to find a way to select cmd only or with GUI - -#echo "enabling byobu" -#byobu-enable -