Skip to content
Permalink
Browse files

logwatch: remove pre-activate block

Was added in a9d72b0, adjusted in 9baab52; over 3 years have
passed since the issue necessitating the block was resolved.
  • Loading branch information
chrstphrchvz authored and cjones051073 committed Apr 23, 2019
1 parent b8b029d commit 499c7f3627b9e244392def057f1edc8a5dc3bef5
Showing with 0 additions and 12 deletions.
  1. +0 −12 security/logwatch/Portfile
@@ -90,18 +90,6 @@ post-destroot {
ln -sf ${prefix}/share/${name}/scripts/logwatch.pl ${destroot}${prefix}/bin/logwatch
}

pre-activate {
# This port used to create a symlink directly in ${prefix} which was fixed in 7.4.1_1.
# The old unregistered symlink needs to be deleted from ${prefix} so upgrades work; fixed in 7.4.1_4.
# This can eventually be removed. Originally added 2014-10-01; fixed 2016-02-03.
set badfile ${prefix}/bin/${name}
if {![catch {file type ${badfile}}] && [registry_file_registered ${badfile}] == "0"} {
if {[catch {delete ${badfile}}]} {
ui_warn "Cannot delete ${badfile}; please remove it manually"
}
}
}

notes "
A startup item has been generated that will aid in
starting logwatch with launchd. It is disabled

0 comments on commit 499c7f3

Please sign in to comment.
You can’t perform that action at this time.