aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-26 11:39:54 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-26 11:39:54 +0000
commit51e9ec247dee6e95f7ef11d5a1f2b54d6a27e6f7 (patch)
tree850cf0d04eed43054eead5581f2d24e4f8cde274
parent7379f0f5e54b84b59f3a7d92b93da1f24f55e3dd (diff)
downloadports-51e9ec247dee6e95f7ef11d5a1f2b54d6a27e6f7.tar.gz
ports-51e9ec247dee6e95f7ef11d5a1f2b54d6a27e6f7.zip
MFH: r371500
Do not infinite loop on the package builders creating GB (or TB) of logs
Notes
Notes: svn path=/branches/2014Q4/; revision=371501
-rw-r--r--security/tripwire/files/pkg-deinstall.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/tripwire/files/pkg-deinstall.in b/security/tripwire/files/pkg-deinstall.in
index 173ee3d9829e..3f931d83f1a9 100644
--- a/security/tripwire/files/pkg-deinstall.in
+++ b/security/tripwire/files/pkg-deinstall.in
@@ -2,6 +2,9 @@
case $2 in
POST-DEINSTALL)
+ if [ -n "${PACKAGE_BUILDING}" ]; then
+ return 0
+ fi
if [ -d %%TWCFG%% -o -d %%TWDB%% ]; then
unset ANS
echo