aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-03-08 12:28:57 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-03-08 12:28:57 +0000
commit07aabe90911d8c18f8190fa85d144526769ed0c9 (patch)
tree29b5247e55cdde356e9f7b8193656a99a7ad7259 /paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
parent21db66f85820241411d397c92b0916c8ada57dfd (diff)
downloadpaludis-07aabe90911d8c18f8190fa85d144526769ed0c9.tar.gz
paludis-07aabe90911d8c18f8190fa85d144526769ed0c9.tar.xz
Remove bash-side RESTRICT handling, and implement RESTRICT=test in C++.
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, 1 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
index 571bb498e..bb8fc9720 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
@@ -35,9 +35,7 @@ exheres_internal_preinst()
local old_sandbox_write="${SANDBOX_WRITE}"
[[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] && SANDBOX_WRITE="${SANDBOX_WRITE+${SANDBOX_WRITE}:}${ROOT%/}/"
- if hasq "preinst" ${RESTRICT} ; then
- ebuild_section "Skipping pkg_preinst (RESTRICT)"
- elif hasq "preinst" ${SKIP_FUNCTIONS} ; then
+ if hasq "preinst" ${SKIP_FUNCTIONS} ; then
ebuild_section "Skipping pkg_preinst (SKIP_FUNCTIONS)"
else
ebuild_section "Starting pkg_preinst"