aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/0/pkg_preinst.bash
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild/0/pkg_preinst.bash')
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_preinst.bash4
1 files changed, 1 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild/0/pkg_preinst.bash b/paludis/repositories/e/ebuild/0/pkg_preinst.bash
index cbfb00910..5bfb42729 100644
--- a/paludis/repositories/e/ebuild/0/pkg_preinst.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_preinst.bash
@@ -30,9 +30,7 @@ ebuild_f_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
if [[ $(type -t pre_pkg_preinst ) == "function" ]] ; then