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