The following commit has been merged in the master branch:
commit 07522de7d6957ba02ae195cf180141d93dccf60d
Author: Raphaël Hertzog <[email protected]>
Date:   Mon Feb 22 15:45:12 2010 +0100

    Enhance dpkg's error message about programs missing from the PATH
    
    Triggered by https://bugs.maemo.org/show_bug.cgi?id=4103

diff --git a/src/help.c b/src/help.c
index c61bf9e..2a13647 100644
--- a/src/help.c
+++ b/src/help.c
@@ -124,7 +124,7 @@ void checkpath(void) {
         break;
     }
     if (!path) {
-      warning(_("'%s' not found on PATH."), *prog);
+      warning(_("'%s' not found in PATH or not executable."), *prog);
       warned++;
     }
   }
@@ -132,8 +132,9 @@ void checkpath(void) {
   varbuf_destroy(&filename);
 
   if (warned)
-    forcibleerr(fc_badpath,_("%d expected program(s) not found on PATH.\nNB: 
root's "
-                "PATH should usually contain /usr/local/sbin, /usr/sbin and 
/sbin."),
+    forcibleerr(fc_badpath, _("%d expected program(s) not found in PATH "
+                "or not executable.\nNB: root's PATH should usually contain "
+                "/usr/local/sbin, /usr/sbin and /sbin."),
                 warned);
 }
 

-- 
dpkg's main repository


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

Reply via email to