# HG changeset patch # User Pascal Bellard # Date 1452020094 -3600 # Node ID 26cfc967375f10132ba2e330cf12d75c34789f0a # Parent 2d67c63d180b2e3ef6b7f6c35eabed013e244b1b Add suggested support (again) diff -r 2d67c63d180b -r 26cfc967375f step4.php --- a/step4.php Tue Jan 05 18:00:29 2016 +0100 +++ b/step4.php Tue Jan 05 19:54:54 2016 +0100 @@ -32,7 +32,9 @@ $_POST['tmp_dir']); unset($pkgs[$key]); $_POST['toconfigure'] = implode(" ", $pkgs); - if ($output == "") { + $suggested = shell_exec("./helper --get-suggested $pkg ". + $_POST['tmp_dir']); + if ($output == "" && $suggested == "") { shell_exec("sudo ./helper --post-install $pkg ". $_POST['tmp_dir']); continue; @@ -49,23 +51,23 @@ -
-

-You may want to install the following package(s) too: -

-
    - -
  1. - -
  2. -"; - } -?> +
    +

    + You may want to install the following package(s) too: +

    +
      + +
    1. + +
    2. + +
    +