From dc7173f632835684decc47acc86263df1bdbafb3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 15 Dec 2024 08:28:23 +0100 Subject: Updating. Signed-off-by: Daniel Baumann --- bin/debian-depends | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/debian-depends b/bin/debian-depends index 0d06bce..ed861ce 100755 --- a/bin/debian-depends +++ b/bin/debian-depends @@ -5,19 +5,24 @@ find /tmp/debian-depends -type f -mtime +1 -delete if [ ! -e /tmp/debian-depends/Packages ] then + echo -n "Downloading package indices... " + for DISTRIBUTION in unstable experimental do for SECTION in main contrib non-free non-free-firmware do for ARCHITECTURE in amd64 all do - wget https://mirror.init7.net/debian/dists/${DISTRIBUTION}/${SECTION}/binary-${ARCHITECTURE}/Packages.xz -O - | xzcat - >> /tmp/debian-depends/Packages + echo -n "." + wget -q https://mirror.init7.net/debian/dists/${DISTRIBUTION}/${SECTION}/binary-${ARCHITECTURE}/Packages.xz -O - | xzcat - >> /tmp/debian-depends/Packages done done done + + echo " done." fi for PACKAGE in ${@} do - grep ${PACKAGE} /tmp/debian-depends/Packages + grep --color=always ${PACKAGE} /tmp/debian-depends/Packages done -- cgit v1.2.3