package Cpanel::Easy::Apache::Utils::PreConfCheck;

# cpanel12 - Cpanel/Easy/Apache/Utils/PreConfCheck.pm
#                                                 Copyright(c) 2007 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

sub run {
    my ($easy) = @_;
    return 1 if $easy->get_param('skip-preconfcheck');
    if ( -e '/var/cpanel/conf/apache/main' && -e '/var/cpanel/conf/apache/success' ) {
        return 1;
    }
    else {
        return;
    }
}

1;
