From 3c84ac633bec644b86dda94e7313ae79d53ba641 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 27 Feb 2007 23:47:01 +0000 Subject: [PATCH] * scripts/update-alternatives.pl (usage): Use '$altdir' instead of hardcoding its value. --- ChangeLog | 5 +++++ scripts/update-alternatives.pl | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 14b21864..c4c947cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-28 Guillem Jover + + * scripts/update-alternatives.pl (usage): Use '$altdir' instead of + hardcoding its value. + 2007-02-28 Colin Watson * scripts/dpkg-gencontrol.pl: Add missing parenthesis in regular diff --git a/scripts/update-alternatives.pl b/scripts/update-alternatives.pl index 9b5cfe6b..688eb276 100755 --- a/scripts/update-alternatives.pl +++ b/scripts/update-alternatives.pl @@ -91,7 +91,7 @@ Commands: --set set as alternative for . --all call --config on all alternatives. - is the symlink pointing to /etc/alternatives/. + is the symlink pointing to %s/. (e.g. /usr/bin/pager) 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 -- 2.39.5