Skip to content
Snippets Groups Projects
Commit fe04ab8a authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'fix-remoteupdate' into 'master'

Autoupgrade switched to apt-get and fixed abug which will likely break this completely on gentoo!

fixed #4397 

One more question... What about RedHat-Derivates?
In current code they would also run apt-get but depend on yum... (nothing changed here)

See merge request !498
parents 23d561f0 00780895
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