We are about to adopt the dh sequencer, which rules dh_link before
dh_shlibdeps. This means that this rune detects the xacpi-simple
symlink, which isn't handled by the case.
Rather than adding duplicate entries, call readlink and match on the
results.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dh_shlibdeps -p chiark-really
set -e; for f in $d/chiark-utils-bin/usr/bin/*; do \
- case "$$f" in \
+ fn="$$f"; if test -L "$$f"; then fn=$$(realpath "$$fn"); fi; \
+ case "$$fn" in \
*/xbatmon-simple|*/xduplic-copier) \
d=Suggests ;; \
*/watershed|*/summer|*/cgi-fcgi-interp|*/prefork-interp) \