diff --git a/targets/build_helper.bash b/targets/build_helper.bash index 17828df3f47c85e9cc70fee9e38e8e0a7e80c5bb..ec8c0d6f25707aae5eb4698df6849d97ff7f6a66 100755 --- a/targets/build_helper.bash +++ b/targets/build_helper.bash @@ -282,6 +282,13 @@ check_install_oai_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update + if [ $UBUNTU_REL = "12.04" ]; then + test_uninstall_package nettle-dev + test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin + fi test_install_package autoconf test_install_package automake test_install_package bison @@ -362,9 +369,12 @@ check_install_oai_software() { check_install_hss_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update - if [ $UBUNTU_REL != "12.04" ]; then + if [ $UBUNTU_REL = "12.04" ]; then test_uninstall_package nettle-dev test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin fi test_install_package autoconf test_install_package automake @@ -419,9 +429,12 @@ check_install_epc_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update - if [ $UBUNTU_REL != "12.04" ]; then + if [ $UBUNTU_REL = "12.04" ]; then test_uninstall_package nettle-dev test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin fi test_install_package autoconf test_install_package automake