Bug#329782: hplip: FTBFS if /usr/share/applications does not exist
Package: hplip
Severity: important
Version: 0.9.5-3
> checking for icon directory... none
...
> if [ "" = "hplip.desktop" ]; then \
...
> fi
> if [ "" = "hplip" ]; then \
> echo -e "?package(xbase):command=\"/usr/lib/hplip/toolbox\" icon=\"/usr/share/hplip/data/images/HPmenu.png\" \\" > ./; \
> echo -e " needs=\"X11\" section=\"Application/Utility\" title=\"HPLIP\" \\" >> ./; \
> echo -e " longtitle=\"HPLIP Device Manager\" \\" >> ./; \
> echo -e " mimetypes=\"\" accept_url=\"false\" multiple_files=\"true\"" >> ./; \
> fi
> /usr/bin/install -c -m 644 ./ /build/lamont/hplip-0.9.5/debian/tmp/usr/share/hplip/data; \
> rm -f ./
> /usr/bin/install: `./' is a directory
> rm: cannot remove `./': Is a directory
It would be better to build the file correctly, by fixing configure.in and
configure to assign good default values to ICON_PATH and ICON_FILE.
lamont
Reply to: