diff options
Diffstat (limited to 'ports-mgmt/pkg_install-devel')
-rw-r--r-- | ports-mgmt/pkg_install-devel/pkg-deinstall | 4 | ||||
-rw-r--r-- | ports-mgmt/pkg_install-devel/pkg-install | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/pkg_install-devel/pkg-deinstall b/ports-mgmt/pkg_install-devel/pkg-deinstall index 08ffba9..32c71c3 100644 --- a/ports-mgmt/pkg_install-devel/pkg-deinstall +++ b/ports-mgmt/pkg_install-devel/pkg-deinstall @@ -10,9 +10,9 @@ BACKUPDIR=/var/backups PREFIX=${PKG_PREFIX:-/usr/local} if [ "${PREFIX}" = "/usr" ]; then - MANPREFIX="${PREFIX}/share" + MANPREFIX="${TARGETDIR}/share" else - MANPREFIX="${PREFIX}" + MANPREFIX="${TARGETDIR}" fi case $2 in diff --git a/ports-mgmt/pkg_install-devel/pkg-install b/ports-mgmt/pkg_install-devel/pkg-install index 72ac81e..f291728 100644 --- a/ports-mgmt/pkg_install-devel/pkg-install +++ b/ports-mgmt/pkg_install-devel/pkg-install @@ -13,9 +13,9 @@ TOOLS="add check create delete info sign update version" PREFIX=${PKG_PREFIX:-/usr/local} if [ "${PREFIX}" = "/usr" ]; then - MANPREFIX="${PREFIX}/share" + MANPREFIX="${TARGETDIR}/share" else - MANPREFIX="${PREFIX}" + MANPREFIX="${TARGETDIR}" fi case $2 in |