summaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/docker-dashboard-installation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ccsdk-app-os/docker-dashboard-installation.sh')
-rw-r--r--ccsdk-app-os/docker-dashboard-installation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccsdk-app-os/docker-dashboard-installation.sh b/ccsdk-app-os/docker-dashboard-installation.sh
index 030e75a..f5ef4f8 100644
--- a/ccsdk-app-os/docker-dashboard-installation.sh
+++ b/ccsdk-app-os/docker-dashboard-installation.sh
@@ -3,8 +3,8 @@
# run import for ca certs
if [ -e /usr/local/share/ca-certificates/cacert.pem ]
then
- mv /usr/local/share/ca-certificates/cacert.pem /usr/local/share/ca-certificates/cacert.crt
- update-ca-certificates
+ sudo mv /usr/local/share/ca-certificates/cacert.pem /usr/local/share/ca-certificates/cacert.crt
+ sudo -- bash -c 'export JAVA_HOME=/usr/local/openjdk-8; /usr/sbin/update-ca-certificates'
fi
# Unzip the dashboard war file