Package: dpkg Version: 1.19.4 User: trei...@debian.org Usertags: colis-shparser
Hi, I haven't been bitten by this, but reading the code of dpkg-maintscript-helper I find this in the function finish_dir_to_symlink: find "$PATHNAME" -mindepth 1 -print0 | \ xargs -0 -i% mv -f "%" "$ABS_SYMLINK_TARGET/" This won't work when $PATHNAME contains a non-empty directory since then the code will try to move both the directory, and the files contained in it, which will fail no matter in which order this is done. I think the invocation of find should rather be find "$PATHNAME" -mindepth 1 -maxdepth 1 -print0 | \ -Ralf.