From b6c7c8977f9175d712864287768357930fbb626f Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 15 Jan 2007 02:50:06 +0000 Subject: Updated pkg_alternatives to 1.4. Changes since 1.3: - Added support for non-standard PKGMANDIR. --- pkgtools/pkg_alternatives/files/pkg_alternatives.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgtools/pkg_alternatives/files') diff --git a/pkgtools/pkg_alternatives/files/pkg_alternatives.sh b/pkgtools/pkg_alternatives/files/pkg_alternatives.sh index 5665d4754d0..6ef7126a6b6 100644 --- a/pkgtools/pkg_alternatives/files/pkg_alternatives.sh +++ b/pkgtools/pkg_alternatives/files/pkg_alternatives.sh @@ -1,6 +1,6 @@ #!@SH@ # -# $NetBSD: pkg_alternatives.sh,v 1.5 2005/02/10 10:18:03 jmmv Exp $ +# $NetBSD: pkg_alternatives.sh,v 1.6 2007/01/15 02:50:06 rillig Exp $ # # pkg_alternatives - Generic wrappers for programs with similar interfaces # Copyright (c) 2005 Julio M. Merino Vidal @@ -41,6 +41,7 @@ Prog_Name=${0##*/} Verbose=yes : ${PKG_DBDIR:=@PKG_DBDIR@} +: ${PKGMANDIR:=@PKGMANDIR@} # ------------------------------------------------------------------------- @@ -488,7 +489,7 @@ get_my_config() { # get_manpage() { sect=$(get_manpage_sect ${1}) - echo ${Prefix}/man/man${sect}/${1##*/}.${sect} + echo ${Prefix}/${PKGMANDIR}/man${sect}/${1##*/}.${sect} } # ------------------------------------------------------------------------- -- cgit v1.2.3