zman1x1 commited on
Commit
e287ef7
1 Parent(s): 69ebc65

add chromium browser to packages list

Browse files
Files changed (2) hide show
  1. chrome_sandbox +10 -2
  2. packages.txt +1 -0
chrome_sandbox CHANGED
@@ -1,3 +1,11 @@
1
  #!/bin/bash
2
-
3
- google-chrome --no-sandbox $@
 
 
 
 
 
 
 
 
 
1
  #!/bin/bash
2
+ CHROME=""
3
+ if command -v google-chrome > /dev/null; then
4
+ CHROME=$(which google-chrome)
5
+ elif command -v chrome-browser > /dev/null; then
6
+ CHROME=$(which chrome-browser)
7
+ else
8
+ echo "No version for chrome found"
9
+ exit 1
10
+ fi
11
+ $CHROME --no-sandbox $@
packages.txt CHANGED
@@ -1,2 +1,3 @@
1
  nodejs
2
  npm
 
 
1
  nodejs
2
  npm
3
+ chromium-browser