Skip to content

Commit 0078089

Browse files
author
A. Täffner
committed
fixed #4397
1 parent 23d561f commit 0078089

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

server/mods-available/remoteaction_core_module.inc.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,17 @@ private function _doOsUpdate($action) {
172172
/*
173173
* Do the update
174174
*/
175-
exec("aptitude update");
176-
exec("aptitude safe-upgrade -y");
175+
//Guess this is not wanted here?
176+
//exec("aptitude update");
177+
//exec("aptitude safe-upgrade -y");
177178

178179
//TODO : change this when distribution information has been integrated into server record
179180
if(file_exists('/etc/gentoo-release')) {
180181
exec("glsa-check -f --nocolor affected");
181182
}
182183
else {
183-
exec("aptitude update");
184-
exec("aptitude safe-upgrade -y");
184+
exec("apt-get update");
185+
exec("apt-get -y upgrade");
185186
}
186187

187188
/*

0 commit comments

Comments
 (0)