Navigation Menu

Skip to content

Commit

Permalink
dpkg/apt
Browse files Browse the repository at this point in the history
  • Loading branch information
eddinn committed Oct 7, 2019
1 parent d7cdf88 commit 7a4140b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg-install.sh
Expand Up @@ -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 ]; if [ "$(sudo dpkg-query -W -f='${Status}' google-chrome-stable 2>/dev/null | grep -c "ok installed")" -eq 0 ];
then 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 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 dpkg -i google-chrome-stable_current_amd64.deb sudo apt install google-chrome-stable_current_amd64.deb
rm -Rf google-chrome-stable_current_amd64.deb rm -Rf google-chrome-stable_current_amd64.deb
fi fi


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

0 comments on commit 7a4140b

Please sign in to comment.