The following commit has been merged in the master branch:
commit d5f096c4c708d6daa7ac23128caf78ca8509a2f4
Author: Guillem Jover <[email protected]>
Date:   Thu Sep 10 03:12:30 2009 +0200

    dpkg: Update list of binaries to check on PATH
    
    Remove install-info which is now a wrapper and will disappear soonish.
    Add programs used by dpkg itself: sh, rm, find, tar and dpkg-deb.

diff --git a/debian/changelog b/debian/changelog
index 4a3ebd1..58a8af2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ dpkg (1.15.5) UNRELEASED; urgency=low
 
   [ Guillem Jover ]
   * Remove obsolete conffiles on purge. Closes: #421367, #453005, #454628
+  * Update list of binaries dpkg checks on the PATH.
+    - Remove install-info, now a wrapper that will disappear soonish.
+    - Add programs used by dpkg itself: sh, rm, find, tar and dpkg-deb.
 
   [ Raphaƫl Hertzog ]
   * Add versioned dependency on base-files (>= 5.0.0) to dpkg-dev to ensure
diff --git a/src/help.c b/src/help.c
index 8880719..a9eacdc 100644
--- a/src/help.c
+++ b/src/help.c
@@ -80,11 +80,16 @@ struct filenamenode *namenodetouse(struct filenamenode 
*namenode, struct pkginfo
 
 void checkpath(void) {
 /* Verify that some programs can be found in the PATH. */
-  static const char *const checklist[]= { "ldconfig", 
+  static const char *const checklist[] = {
+    DEFAULTSHELL,
+    RM,
+    TAR,
+    FIND,
+    BACKEND,
+    "ldconfig",
 #if WITH_START_STOP_DAEMON
     "start-stop-daemon",
 #endif    
-    "install-info",
     "update-rc.d",
     NULL
   };

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to