]> err.no Git - dpkg/commitdiff
* scripts/update-alternatives.pl (usage): Use '$altdir' instead of
authorGuillem Jover <guillem@debian.org>
Tue, 27 Feb 2007 23:47:01 +0000 (23:47 +0000)
committerGuillem Jover <guillem@debian.org>
Tue, 27 Feb 2007 23:47:01 +0000 (23:47 +0000)
hardcoding its value.

ChangeLog
scripts/update-alternatives.pl

index 14b21864005bef26758bc1692abb400fdf87eeb4..c4c947cce9637c18d4dd113242bbf94c2b890f93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-28  Guillem Jover  <guillem@debian.org>
+
+       * scripts/update-alternatives.pl (usage): Use '$altdir' instead of
+       hardcoding its value.
+
 2007-02-28  Colin Watson  <cjwatson@ubuntu.com>
 
        * scripts/dpkg-gencontrol.pl: Add missing parenthesis in regular
index 9b5cfe6b4d1dde9b93d068751d3793ab7dc44593..688eb2761196452d33e26b2d8cd5b73f45a491e5 100755 (executable)
@@ -91,7 +91,7 @@ Commands:
   --set <name> <path>      set <path> as alternative for <name>.
   --all                    call --config on all alternatives.
 
-<link> is the symlink pointing to /etc/alternatives/<name>.
+<link> is the symlink pointing to %s/<name>.
   (e.g. /usr/bin/pager)
 <name> is the master name for this link group.
   (e.g. pager)
@@ -108,7 +108,7 @@ Options:
   --quiet                  quiet operation, minimal output.
   --help                   show this help message.
   --version                show the version.
-"), $0;
+"), $0, $altdir;
 }
 
 sub quit