12 lines
239 B
Bash
12 lines
239 B
Bash
|
#!/usr/bin/sh
|
||
|
set -e
|
||
|
|
||
|
bsdtar -Oxf chrome.deb data.tar.xz |
|
||
|
bsdtar -xf - \
|
||
|
--strip-components=4 \
|
||
|
--exclude='./opt/google/chrome/nacl*' \
|
||
|
./opt/google/chrome
|
||
|
rm chrome.deb
|
||
|
|
||
|
install -Dm 755 /app/bin/stub_sandbox chrome-sandbox
|