Skip to content
Permalink
Browse files

apt install -y

  • Loading branch information...
eddinn committed Oct 7, 2019
1 parent 7a4140b commit 3010fff8feb39a641fb624f1713051b57c4f5d22
Showing with 2 additions and 2 deletions.
  1. +2 −2 pkg-install.sh
@@ -70,7 +70,7 @@ setup_ubuntu () {
if [ "$(sudo dpkg-query -W -f='${Status}' google-chrome-stable 2>/dev/null | grep -c "ok installed")" -eq 0 ];
then
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb || curl -L -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
rm -Rf google-chrome-stable_current_amd64.deb
fi

@@ -79,7 +79,7 @@ setup_ubuntu () {
if [ "$(sudo dpkg-query -W -f='${Status}' teamviewer 2>/dev/null | grep -c "ok installed")" -eq 0 ];
then
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb || curl -L -O https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
sudo apt install teamviewer_amd64.deb
sudo apt install -y ./teamviewer_amd64.deb
rm -Rf teamviewer_amd64.deb
fi
}

0 comments on commit 3010fff

Please sign in to comment.
You can’t perform that action at this time.