
functions.installModuleAssistantIfNeeded.sh Maven / Gradle / Ivy
function installModuleAssistantIfNeeded {
unset OSNAME;
local OSNAME=`lsb_release -d -s | cut -d ' ' -f 1`; shift
if [ $OSNAME = 'Ubuntu' ]
then
echo "OS is Ubuntu"
apt-get -f -y -qq --force-yes install dkms build-essential linux-headers-`uname -r` module-assistant acpid;
m-a prepare -i
return 0
fi
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy