File: apt-patterns-custom

package info (click to toggle)
mmdebstrap 1.3.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,208 kB
  • sloc: perl: 4,799; sh: 3,984; python: 1,136; makefile: 20
file content (9 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu
export LC_ALL=C.UTF-8
trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
{{ CMD }} --mode={{ MODE }} --variant=custom \
	--include '?narrow(?archive(^{{ DIST }}$),?essential)' \
	--include apt \
	{{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
tar -tf /tmp/debian-chroot.tar | sort | diff -u tar1.txt -