#!/bin/bash

. ${TOOLKIT}-functions.sh

version=$(uname -r)
pkg="linux-headers-$version"

found=$(apt-cache search $pkg)

is_installed $pkg || {
	if [ "X$found" != "X" ]
	then
		install_pkgs $pkg
	else
		putwarning "DEVEL, LINUX HEADERS" \
			"cannot find linux-headers package for current kernel" \
			"($pkg), installation skipped"
	fi
}

exit 0
