tiny-slitaz diff step4.php @ rev 32

Do not suggest packages twice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 13:55:40 2019 +0200 (2019-09-26)
parents 26423b57df46
children
line diff
     1.1 --- a/step4.php	Fri Sep 20 21:20:45 2019 +0200
     1.2 +++ b/step4.php	Thu Sep 26 13:55:40 2019 +0200
     1.3 @@ -35,7 +35,8 @@
     1.4  		unset($pkgs[$key]);
     1.5  		$_POST['toconfigure'] = implode(" ", $pkgs);
     1.6  		$output .= shell_exec("./helper --list-suggested $pkg ".
     1.7 -			$_POST['tmp_dir']." ".$_POST['packages']); 
     1.8 +			$_POST['tmp_dir']." ".$_POST['packages'].
     1.9 +			$_POST['already_suggested']); 
    1.10  		if ($output == "") {
    1.11  			shell_exec("sudo ./helper --post-install $pkg ".
    1.12  				   $_POST['tmp_dir']);