Commit 304cfa56 authored by Rohit Gupta's avatar Rohit Gupta

fix for downloading linux headers when kernel is installed from sources

parent 7645f338
...@@ -369,7 +369,6 @@ check_install_oai_software() { ...@@ -369,7 +369,6 @@ check_install_oai_software() {
libxml2 \ libxml2 \
libxml2-dev \ libxml2-dev \
libxslt1-dev \ libxslt1-dev \
linux-headers-`uname -r` \
mscgen \ mscgen \
octave \ octave \
octave-signal \ octave-signal \
...@@ -385,6 +384,8 @@ check_install_oai_software() { ...@@ -385,6 +384,8 @@ check_install_oai_software() {
$SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so $SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so
#Sometimes linux headers are not available in apt-get if kernel is custom or new
$SUDO apt-get install linux-headers-`uname -r` || true
# First we remove gnutls/nettle installation and then install from sources # First we remove gnutls/nettle installation and then install from sources
$SUDO apt-get remove -y libgnutls-dev nettle-dev nettle-bin $SUDO apt-get remove -y libgnutls-dev nettle-dev nettle-bin
install_nettle_from_source install_nettle_from_source
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment