Added minor fixes to rr

This commit is contained in:
Arturo Gonzalez 2017-03-17 09:57:10 +01:00
parent e7b811c39d
commit 25fb6bd894
2 changed files with 2 additions and 6 deletions

View File

@ -677,9 +677,6 @@ function update_manager_extract_package() {
*/
function update_manager_starting_update() {
global $config;
$path_package = $config['attachment_store'] .
"/downloads/last_package.tgz";
$full_path = $config['attachment_store'] . "/downloads/unix";
@ -729,7 +726,6 @@ function update_manager_recurse_copy($src, $dst, $black_list) {
@mkdir($dst);
@trigger_error("NONE");
//debugPrint("mkdir(" . $dst . ")", true);
while (false !== ( $file = readdir($dir)) ) {
if (( $file != '.' ) && ( $file != '..' ) && (!in_array($file, $black_list))) {
if ( is_dir($src . '/' . $file) ) {

View File

@ -1476,8 +1476,8 @@ function apply_minor_release (n_mr, pkg, ent, off) {
params["updare_rr"] = 1;
params["number"] = mr;
params["ent"] = ent;
params["pkg"] = pkg;
params["off"] = off;
params["package"] = pkg;
params["offline"] = off;
params["page"] = "include/ajax/rolling_release.ajax";
jQuery.ajax ({