| | |
| | | /* |
| | | * Do the update |
| | | */ |
| | | //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 upgrade -y"); |
| | | } |
| | | |
| | | /* |
| | | exec("aptitude update");
|
| | | exec("aptitude 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");
|
| | | }
|
| | | |
| | | /*
|
| | | * All well done! |
| | | */ |
| | | $this->_actionDone($action['action_id'], 'ok'); |