summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcleanoldrpm8
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];