From cc2bd2843897c6b0b98dad31c7d4b6bb1795ed50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 Dec 2024 17:46:17 +0100 Subject: Updating. Signed-off-by: Daniel Baumann --- bin/debian-chroot | 1 + bin/debian-depends | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 bin/debian-depends (limited to 'bin') diff --git a/bin/debian-chroot b/bin/debian-chroot index 0fbe930..b191a04 100755 --- a/bin/debian-chroot +++ b/bin/debian-chroot @@ -69,6 +69,7 @@ case "${COMMAND}" in cat > "${CHROOT}/etc/apt/apt.conf.d/chroot.conf" << EOF Acquire::PDiffs "false"; +Acquire::Languages "none"; APT::Clean-Installed "true"; APT::Install-Recommends "false"; APT::Install-Suggests "false"; diff --git a/bin/debian-depends b/bin/debian-depends new file mode 100755 index 0000000..0d06bce --- /dev/null +++ b/bin/debian-depends @@ -0,0 +1,23 @@ +#!/bin/sh + +mkdir -p /tmp/debian-depends +find /tmp/debian-depends -type f -mtime +1 -delete + +if [ ! -e /tmp/debian-depends/Packages ] +then + 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 + done + done + done +fi + +for PACKAGE in ${@} +do + grep ${PACKAGE} /tmp/debian-depends/Packages +done -- cgit v1.2.3