From 84971c3dbbb362dca0945118bd80b259795a32be Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 5 Jan 2005 22:06:36 +0000 Subject: [PATCH] This is being used now, but just a small change. --- SWIM/NDB_Init.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SWIM/NDB_Init.pm b/SWIM/NDB_Init.pm index fc81ad9..8443b26 100644 --- a/SWIM/NDB_Init.pm +++ b/SWIM/NDB_Init.pm @@ -591,6 +591,7 @@ sub initndb { exit if $#ARGV == -1; + ################################ # APT || DF CONTENTS SITUATION # ################################ @@ -1313,6 +1314,12 @@ sub not_installed { # it happens to have more than one version, this means running # a check, but if the package exists in another architecture, then # it isn't a repeat. + + # 2003 This is my customized approach using "apt-cache dumpavail" rather + # then lists/packages + + $argument = "apt-cache dumpavail|"; + my (%Package_count,%not_me,$packler,%not_me2,%warch,%arc); open(PACKAGE, "$argument"); while () {