diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 29fbf61a1..86ddf49d6 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2894,7 +2894,7 @@ sub update_config_file( $ ) { my $fn; - if ( -f "/usr/share/doc/${product}/default-config/${product}.conf" ) { + unless ( -d "$globals{SHAREDIR}/configfiles/" ) { # # Debian or derivative #