mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Move docker installation scripts to virtualization/Docker path. Splits out openalpr to seperate script. (#5676)
This commit is contained in:
committed by
Paulus Schoutsen
parent
89ec752064
commit
8247acb7b9
15
virtualization/Docker/scripts/phantomjs
Executable file
15
virtualization/Docker/scripts/phantomjs
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Sets up phantomjs.
|
||||
|
||||
# Stop on errors
|
||||
set -e
|
||||
|
||||
PHANTOMJS_VERSION="2.1.1"
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
mkdir -p build && cd build
|
||||
|
||||
curl -LSO https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
|
||||
tar -xjf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
|
||||
mv phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
||||
/usr/bin/phantomjs -v
|
||||
Reference in New Issue
Block a user