-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#install chrome | ||
set -x && \ | ||
apt update && \ | ||
apt upgrade -y && \ | ||
apt install -y wget curl gnupg libappindicator1 fonts-liberation locales fonts-noto-cjk && \ | ||
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \ | ||
wget -qO - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \ | ||
apt update && \ | ||
apt install -y google-chrome-stable && \ | ||
rm -rf /var/lib/apt/lists/ && \ | ||
apt-get autoremove -y && \ | ||
apt-get autoclean -y | ||
|
||
#download linux | ||
curl -s https://api.github.com/repos/srcrs/magicbox/releases/latest | grep browser_download_url | grep linux | cut -d'"' -f4 | wget -i - |