diff options
author | Remi Collet <remi@remirepo.net> | 2020-11-25 08:42:23 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-11-25 08:42:23 +0100 |
commit | 6f3c630188dae76fd2237bb1d05ab2f49d502765 (patch) | |
tree | 438737faded3fd3e54f70273434581169d0cf03e | |
parent | ac9b2488788cba18bc9de7c0202262210fad04a1 (diff) |
cleanoldrpm: cleanup
-rwxr-xr-x | cleanoldrpm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cleanoldrpm b/cleanoldrpm index e8451b9..b21e9e3 100755 --- a/cleanoldrpm +++ b/cleanoldrpm @@ -3,15 +3,13 @@ if (!extension_loaded("rpminfo")) die("rpminfo extension is missing\n"); -define('MODE_PREVIEW', 1); -define('MODE_DELETE', 2); $mode = 0; $keep = 0; $dest = false; $multi = [ - 'php' => 3, - 'redis' => 1, - 'composer' => 1, + 'php' => 3, // php/8.0 + 'redis' => 1, // redis/6 + 'composer' => 1, // composer/2 ]; if (isset($_SERVER['argv'][1])) { $keep = (int)$_SERVER['argv'][1]; |