-
Notifications
You must be signed in to change notification settings - Fork 1
/
Thorium_installer.sh
28 lines (23 loc) · 1.42 KB
/
Thorium_installer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Script Title: Thorium Installer for Linux
# Author: its_ashu_otf
# Description: This scripts installs Thorium and also adds it to your default repository.
cat << "EOF"
_____ _ _ ___________ _____ _ ____ ___ _____ _ _ _____ _____ ___ _ _ ___________
|_ _| | | | _ | ___ \_ _| | | | \/ | |_ _| \ | |/ ___|_ _/ _ \ | | | | | ___| ___ \
| | | |_| | | | | |_/ / | | | | | | . . | | | | \| |\ `--. | |/ /_\ \| | | | | |__ | |_/ /
| | | _ | | | | / | | | | | | |\/| | | | | . ` | `--. \ | || _ || | | | | __|| /
| | | | | \ \_/ / |\ \ _| |_| |_| | | | | _| |_| |\ |/\__/ / | || | | || |____| |____| |___| |\ \
\_/ \_| |_/\___/\_| \_|\___/ \___/\_| |_/ \___/\_| \_/\____/ \_/\_| |_/\_____/\_____/\____/\_| \_|
EOF
echo " "
echo "Fetching Thorium and adding it to your repository lists....."
sudo rm -fv /etc/apt/sources.list.d/thorium.list && \
sudo wget --no-hsts -P /etc/apt/sources.list.d/ \
http://dl.thorium.rocks/debian/dists/stable/thorium.list && \
echo "Updating Repositories..."
sudo apt update
echo " "
echo "Installing Thorium-Browser now....."
sudo apt install thorium-browser
echo "Done ! a reboot may be required to launch thorium :)"