aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/0/pkg_prerm.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/0/pkg_prerm.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/0/pkg_prerm.bash')
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_prerm.bash4
1 files changed, 1 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild/0/pkg_prerm.bash b/paludis/repositories/e/ebuild/0/pkg_prerm.bash
index 81c72cd7b..8f2824aaf 100644
--- a/paludis/repositories/e/ebuild/0/pkg_prerm.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_prerm.bash
@@ -30,9 +30,7 @@ ebuild_f_prerm()
local old_sandbox_write="${SANDBOX_WRITE}"
[[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] && SANDBOX_WRITE="${SANDBOX_WRITE+${SANDBOX_WRITE}:}${ROOT%/}/"
- if hasq "prerm" ${RESTRICT} ; then
- ebuild_section "Skipping pkg_prerm (RESTRICT)"
- elif hasq "prerm" ${SKIP_FUNCTIONS} ; then
+ if hasq "prerm" ${SKIP_FUNCTIONS} ; then
ebuild_section "Skipping pkg_prerm (SKIP_FUNCTIONS)"
else
if [[ $(type -t pre_pkg_prerm ) == "function" ]] ; then