diff options
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 |