diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-01 16:46:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-15 07:13:30 +0000 |
commit | cc2bd2843897c6b0b98dad31c7d4b6bb1795ed50 (patch) | |
tree | cd458ff855aae1f7ba2603ef2b2339675042cf33 /bin | |
parent | Updating. (diff) | |
download | progress-linux-tools-cc2bd2843897c6b0b98dad31c7d4b6bb1795ed50.tar.xz progress-linux-tools-cc2bd2843897c6b0b98dad31c7d4b6bb1795ed50.zip |
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | bin/debian-chroot | 1 | ||||
-rwxr-xr-x | bin/debian-depends | 23 |
2 files changed, 24 insertions, 0 deletions
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 |