diff options
author | jlam <jlam> | 2007-07-30 00:01:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-07-30 00:01:05 +0000 |
commit | 49298eadc44ecc8e721c9d30181b0321dc439f18 (patch) | |
tree | 0a0b92938652807a7389c3d16d4123b8a40ace33 /emulators/suse100_base | |
parent | 0f9a11955757d934d3807d60c003615a9331fa39 (diff) | |
download | pkgsrc-49298eadc44ecc8e721c9d30181b0321dc439f18.tar.gz |
Assume that the +ROOT_ACTIONS script is always executed from the
current working directory. This should fix problems installing the
suse*_base and suse*_vmware packages as a privileged user.
When this package is installed as a privileged user, the +ROOT_ACTIONS
script is executed from ${WRKDIR}/.pkginstall before the package
metadata directory exists.
Diffstat (limited to 'emulators/suse100_base')
-rw-r--r-- | emulators/suse100_base/INSTALL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/suse100_base/INSTALL b/emulators/suse100_base/INSTALL index 51371f21458..12831a79c54 100644 --- a/emulators/suse100_base/INSTALL +++ b/emulators/suse100_base/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.5 2007/07/29 05:18:39 jlam Exp $ +# $NetBSD: INSTALL,v 1.6 2007/07/30 00:01:05 jlam Exp $ # Generate a +ROOT_ACTIONS script that runs certain actions that require # superuser privileges. @@ -41,7 +41,7 @@ PKG_METADATA_DIR="${2-${CURDIR}}" EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@" OPSYS_EMULDIR="@OPSYS_EMULDIR@" -ROOT_ACTIONS_COOKIE="${PKG_METADATA_DIR}/+ROOT_ACTIONS_done" +ROOT_ACTIONS_COOKIE="./+ROOT_ACTIONS_done" EUID=`${ID} -u` exitcode=0 |