new logic for installing deps
This commit is contained in:
parent
218879e4a7
commit
712024dd5c
3 changed files with 35 additions and 2 deletions
26
odeps.sh
Normal file
26
odeps.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
#These are the programs I expect to find on any install
|
||||
|
||||
echo "installing base dependencies"
|
||||
sudo zypper install git \
|
||||
stow \
|
||||
etckeeper \
|
||||
tmux \
|
||||
zsh \
|
||||
vim \
|
||||
powerline\
|
||||
htop \
|
||||
mc \
|
||||
curl \
|
||||
|
||||
read -n1 -p $'Does this system need ssh access?\n' REPLY
|
||||
if [[ $REPLY == [Yy] ]]; then
|
||||
sudo zypper install openssh-server
|
||||
fi
|
||||
read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
|
||||
if [[ $REPLY == [Yy] ]]; then
|
||||
sudo zypper install emacs
|
||||
else
|
||||
sudo zypper install emacs-nox
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue