sahara-plugin-mapr/sahara/plugins/mapr/resources/images/ubuntu/install_mapr_dependencies
Telles Nobrega 600811ab12 Image generation for MapR
Adds image generation and validation for MapR

Change-Id: Ib2d3bf2fa43db96437682d7479df1e897b997674
2018-01-11 10:50:05 -03:00

23 lines
586 B
Bash

#!/bin/bash
echo "START: installing MapR core dependencies"
if [ ! -f /etc/apt/sources.list.d/security_repo.list ]; then
if [ $test_only -eq 0 ]; then
# Required for libicu48
cat >> /etc/apt/sources.list.d/security_repo.list << EOF
deb http://security.ubuntu.com/ubuntu precise-security main
EOF
# Required for libmysqlclient16
cat >> /etc/apt/sources.list.d/security_repo.list << EOF
deb http://old-releases.ubuntu.com/ubuntu lucid-security main
EOF
else
exit 0
fi
fi
apt-get update
echo "END: installing MapR core dependencies"