my-env/install/chrome
2023-04-14 12:06:40 +08:00

21 lines
449 B
Bash
Executable File

#!/bin/bash
##makedesc: Install google chrome (latest)
source `dirname $0`/../helpers || exit 255
# https://t.me/axenov_blog/251
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
}