All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functions.installModuleAssistantIfNeeded.sh Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy