updating install

This commit is contained in:
Martin Donnelly 2020-02-10 11:38:11 +00:00
parent d7117f8f4a
commit 3089709b27

View File

@ -100,9 +100,11 @@ fancy_echo "${PURPLE}Updating system packages${RESET}"
echo $sudoPW | sudo -S yum --assumeyes install deltarpm psmisc
echo $sudoPW | sudo -S yum --assumeyes install git make automake gcc gcc-c++ kernel-devel nginx htop screen wget curl pi-bluetooth
else
echo $sudoPW | sudo -S apt-get -y -q --force-yes update
echo $sudoPW | sudo -S apt-get -y -q --force-yes upgrade
echo $sudoPW | sudo -S apt-get -y -q --force-yes clean
echo $sudoPW | sudo -S apt-get -y -q --assume-yes update
echo $sudoPW | sudo -S apt-get -y -q --assume-yes upgrade
echo $sudoPW | sudo -S apt-get -y -q --assume-yes clean
echo $sudoPW | sudo -S apt autoremove --assume-yes
echo $sudoPW | sudo -S apt autoclean --assume-yes
fi
echo $sudoPW | sudo -S snap refresh
@ -113,7 +115,10 @@ if [[ $INSTALL = "YES" ]]; then
fancy_echo "${YELLOW}Installing Required ...${RESET}"
echo $sudoPW | sudo -S apt-get --assume-yes install build-essential git nginx htop screen wget curl default-jdk
echo $sudoPW | sudo -S apt-get -y -q --force-yes clean
echo $sudoPW | sudo -S apt-get -y -q --assume-yes clean
echo $sudoPW | sudo -S apt autoremove --assume-yes
echo $sudoPW | sudo -S apt autoclean --assume-yes
echo $sudoPW | sudo -S snap install chromium
echo $sudoPW | sudo -S snap install webstorm --classic
@ -121,6 +126,15 @@ if [[ $INSTALL = "YES" ]]; then
echo $sudoPW | sudo -S snap install android-studio --classic
echo $sudoPW | sudo -S snap install qownnotes
git clone http://martind2000@gitlab.silvrtree.co.uk/martind2000/usefulfiles.git $HOME/dev/usefulfiles
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_bash_profile $HOME/.bash_profile
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_aliases $HOME/.aliases
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_bash_prompt $HOME/.bash_prompt
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_gitconfig $HOME/.gitconfig
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_screenrc $HOME/.screenrc
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_nanorc $HOME/.nanorc
ln -n $HOME/dev/usefulfiles/shell_dotfiles/_wgetrc $HOME/.wgetrc
fi