summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-15 07:28:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-15 07:28:23 +0000
commitdc7173f632835684decc47acc86263df1bdbafb3 (patch)
tree54e28b34054f5fbd9ee8474e368ca7731c4b3670
parentUpdating. (diff)
downloadprogress-linux-tools-dc7173f632835684decc47acc86263df1bdbafb3.tar.xz
progress-linux-tools-dc7173f632835684decc47acc86263df1bdbafb3.zip
Updating.HEADmain
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xbin/debian-depends9
1 files 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