[Android-tools-devel] Bug#915943: google-android-sdk-docs-installer: deletes empty directories under /usr/share/doc upon removal
anbe at debian.org
Sat Dec 8 03:43:14 GMT 2018
User: debian-qa at lists.debian.org
during a test with piuparts I noticed your package removes directories that
were installed by another package.
>From the attached log (scroll to the bottom...):
4m0.1s ERROR: FAIL: After purging files have disappeared:
/usr/share/doc/libext2fs/ owned by: libext2fs2:amd64
The Makefile used by google-android-sdk-docs-installer contains
the following target that acts on the whole /usr/share/doc tree:
rm -f $(INSTALL_DIR)/copyright.gz
for d in `find $(INSTALL_DIR) /usr/share/doc -type d -empty`; do \
test -d $$d && rmdir $$d || true ; done
While it may be questionable for some packages to ship empty
directories under /usr/share/doc, it is not the task of
google-android-sdk-docs-installer to clean them up.
PS: I only noticed this bug thanks to #915942 :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 310061 bytes
Desc: not available
More information about the Android-tools-devel