my-env/install/chrome

21 lines
449 B
Plaintext
Raw Normal View History

#!/bin/bash
##makedesc: Install google chrome (latest)
2023-04-14 04:06:40 +00:00
source `dirname $0`/../helpers || exit 255
# https://t.me/axenov_blog/251
2023-04-14 04:06:40 +00:00
title
mkdir -p "$HOME/install"
download "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" \
"$HOME/install/google-chrome.deb" && \
sudo dpkg -i "$HOME/install/google-chrome.deb"
[ $? = 0 ] && {
echo
success "Google Chrome installed!"
google-chrome --version
echo
}