-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall_web_browser.sh
executable file
·51 lines (47 loc) · 1.26 KB
/
install_web_browser.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash/
echo 'Browser(s) about to install on your system!!!'
echo
echo 'Please select a browser to install from options: to opt out press ctrl+c '
echo '1. dillo' '2. epiphany' '3. kweb' '4. Luakit' '5. lynx' '6. midori' '7. netsurf' '8. vivaldi'
read 'reading selected option'
if $1 == '1'; then
echo 'installing dillo'
sudo apt install -y dillo -f
echo
else if $1 == '2'; then
echo 'installing epiphany'
sudo apt install -y epiphany -f
echo
else if $1 == '3'; then
echo 'installing kweb'
sudo wget http://steinerdatenbank.de/software/kweb-1.7.9.8.tar.gz
tar -xzf kweb-1.7.9.8.tar.gz
rm kweb-1.7.9.8.tar.gz
pushd kweb-1.7.9.8
./debinstall
popd
echo
else if $1 == '4'; then
echo 'installing Luakit'
sudo apt install -y Luakit -f
echo
else if $1 == '5'; then
echo 'installing lynx'
sudo apt install -y lynx -f
echo
else if $1 == '6'; then
echo 'installing midori'
sudo apt install -y midori -f
echo
else if $1 == '7'; then
echo 'installing netsurf'
sudo apt install -y netsurf -f
echo
else if $1 == '8'; then
echo 'installing vivaldi'
sudo wget https://downloads.vivaldi.com/stable/vivaldi-stable_3.1.1929.34-1_armhf.deb
sudo dpkg -i vivaldi-stable_3.1.1929.34-1_armhf.deb
rm vivaldi-stable_3.1.1929.34-1_armhf.deb
sudo apt-get install -f
echo
fi