tests/multiple-include: be more liberal with packages adding or dropping maintainer scripts
This commit is contained in:
parent
9a19801095
commit
846662276f
1 changed files with 6 additions and 10 deletions
|
@ -12,14 +12,10 @@ rm /tmp/debian-chroot/etc/timezone
|
||||||
rm -r /tmp/debian-chroot/usr/share/doc/tzdata
|
rm -r /tmp/debian-chroot/usr/share/doc/tzdata
|
||||||
rm -r /tmp/debian-chroot/usr/share/zoneinfo
|
rm -r /tmp/debian-chroot/usr/share/zoneinfo
|
||||||
rm /tmp/debian-chroot/var/lib/apt/extended_states
|
rm /tmp/debian-chroot/var/lib/apt/extended_states
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/doc-debian.list
|
for p in doc-debian tzdata; do
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/doc-debian.md5sums
|
for f in list md5sums config postinst postrm templates preinst prerm; do
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.list
|
[ -e "/tmp/debian-chroot/var/lib/dpkg/info/$p.$f" ] || continue
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.md5sums
|
rm "/tmp/debian-chroot/var/lib/dpkg/info/$p.$f"
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.config
|
done
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postinst
|
done
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postrm
|
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.templates
|
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.preinst
|
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.prerm
|
|
||||||
tar -C /tmp/debian-chroot --one-file-system -c . | tar -t | sort | diff -u tar1.txt -
|
tar -C /tmp/debian-chroot --one-file-system -c . | tar -t | sort | diff -u tar1.txt -
|
||||||
|
|
Loading…
Reference in a new issue