retained apt-get version

This commit is contained in:
Stefen Auris 2019-07-18 14:04:23 -04:00
parent 8be3fb25e3
commit 18f28f51e7

View file

@ -2,7 +2,7 @@
#These are the programs I expect to find on any install #These are the programs I expect to find on any install
echo "installing base dependencies" echo "installing base dependencies"
sudo zypper install git \ sudo apt-get -my install git \
stow \ stow \
etckeeper \ etckeeper \
tmux \ tmux \
@ -12,15 +12,16 @@ sudo zypper install git \
htop \ htop \
mc \ mc \
curl \ curl \
aptitude \
read -n1 -p $'Does this system need ssh access?\n' REPLY read -n1 -p $'Does this system need ssh access?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then
sudo zypper install openssh-server sudo apt-get install openssh-server
fi fi
read -n1 -p $'\nDoes this system have a GUI?\n' REPLY read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then
sudo zypper install emacs sudo apt-get install emacs synaptic
else else
sudo zypper install emacs-nox sudo apt-get install emacs-nox
fi fi