Skip to content
Snippets Groups Projects
Commit 00780895 authored by A. Täffner's avatar A. Täffner
Browse files

fixed #4397

parent 23d561f0
No related branches found
No related tags found
No related merge requests found
......@@ -172,16 +172,17 @@ class remoteaction_core_module {
/*
* Do the update
*/
exec("aptitude update");
exec("aptitude safe-upgrade -y");
//Guess this is not wanted here?
//exec("aptitude update");
//exec("aptitude safe-upgrade -y");
//TODO : change this when distribution information has been integrated into server record
if(file_exists('/etc/gentoo-release')) {
exec("glsa-check -f --nocolor affected");
}
else {
exec("aptitude update");
exec("aptitude safe-upgrade -y");
exec("apt-get update");
exec("apt-get -y upgrade");
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment