add commented out stub for using fmtree to compare directories

This commit is contained in:
Johannes 'josch' Schauer 2018-10-22 16:58:27 +02:00
parent 69ee374719
commit bdf878894f
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -153,6 +153,11 @@ for dist in stable testing unstable; do
# check if the file content differs
sudo diff --no-dereference --brief --recursive debian-$dist-debootstrap debian-$dist-mm
# check if file properties (permissions, ownership, symlink names, modification time) differ
#
# we cannot use this (yet) because it cannot copy with paths that have [ or @ in them
#sudo fmtree -c -p ./debian-$dist-debootstrap -k flags,gid,link,mode,size,time,uid | sudo fmtree -p ./debian-$dist-mm
sudo rm -rf ./debian-$dist-debootstrap ./debian-$dist-mm \
./debian-$dist-mm.tar
if [ "$docache" != "true" ]; then