-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Zen Browser * Add bzip2 libasound2 to install_zenbrowser.sh
- Loading branch information
Showing
3 changed files
with
33 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
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,20 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
export DEBIAN_FRONTEND="noninteractive" | ||
ZBVERS="1.0.1-a.4" | ||
URL="https://github.com/zen-browser/desktop/releases/download/${ZBVERS}/zen.linux-specific.tar.bz2" | ||
|
||
apt-get update | ||
apt-get install -y bzip2 libasound2 | ||
apt-get clean | ||
|
||
cd /opt | ||
wget ${URL} | ||
tar xf zen.linux-specific.tar.bz2 | ||
rm zen.linux-specific.tar.bz2 | ||
|
||
cd /usr/bin | ||
ln -s /opt/zen/zen zenbrowser | ||
|
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,12 @@ | ||
#!/bin/bash | ||
|
||
BINARY="zenbrowser" | ||
|
||
BINARYLOC=`which ${BINARY}` | ||
if [ "$?" -ne "0" ]; then | ||
set -e | ||
|
||
xterm -T InstallZenBrowser -g 100x30 -e sudo /app/scripts/install_zenbrowser.sh | ||
fi | ||
|
||
${BINARY} |