* Ansgar Burchardt <ans...@debian.org>, 2015-12-18, 16:24:
Section 6.4 "Nest practices for maintainer script" has a pathfind() function which it suggests copy & pasting into maintainer scripts. It suggests "which" as an alternative that requires /usr.

I think "best practices" and "copy and paste this function" are contradictionary. Given that /usr is *always* available when maintainer scripts are run, using `which` should be just fine.

Also, which(1) has been available in /bin for a while:
| debianutils (2.12.0) unstable; urgency=medium
|
[...]
|   * debian/rules: move which to /bin and leave a compatibility
|     symlink in /usr/bin.  The symlink will be dropped at a
|     later date.  closes: #295058.
|
|  -- Clint Adams <sch...@debian.org>  Sun, 13 Feb 2005 10:01:09 -0500

--
Jakub Wilk

Reply via email to