aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2011-01-20 19:36:17 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 16:33:59 +0000
commit3cac76bba19afa2bd70307024d6f6f6485526d29 (patch)
treefbadd0896ffc993598c3e33b290ba84f3f7678d3 /paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
parent78c76b83f32c293a7a7b9633c63927944262ea2e (diff)
downloadpaludis-3cac76bba19afa2bd70307024d6f6f6485526d29.tar.gz
paludis-3cac76bba19afa2bd70307024d6f6f6485526d29.tar.xz
exheres-0: Use esandbox instead of sydboxcmd
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
index 1f374596c..7e4b4065b 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
@@ -36,7 +36,7 @@ exheres_internal_preinst()
local old_sandbox_write="${SANDBOX_WRITE}"
if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]]; then
SANDBOX_WRITE="${SANDBOX_WRITE+${SANDBOX_WRITE}:}${ROOT%/}/"
- sydboxcheck >/dev/null 2>&1 && addwrite "${ROOT}"
+ esandbox check >/dev/null 2>&1 && esandbox allow "${ROOT}"
fi
if hasq "preinst" ${SKIP_FUNCTIONS} ; then
@@ -49,7 +49,7 @@ exheres_internal_preinst()
if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]]; then
SANDBOX_WRITE="${old_sandbox_write}"
- sydboxcheck >/dev/null 2>&1 && rmwrite "${ROOT}"
+ esandbox check >/dev/null 2>&1 && esandbox disallow "${ROOT}"
fi
true
}