mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
try to fix java install issue
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#!/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
# lock
|
||||
touch /tmp/install-java.lock
|
||||
|
||||
# install java
|
||||
apt-get update
|
||||
apt-get install -y -f default-jdk
|
||||
apt-get update && apt-get install -y -f default-jdk
|
||||
ln -s /usr/bin/java /usr/local/bin/java
|
||||
|
||||
# unlock
|
||||
|
||||
Reference in New Issue
Block a user