#!/usr/local/cpanel/3rdparty/bin/perl
#                                      Copyright 2026 WebPros International, LLC
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited.

package autofixer2::lsws_uninstall_cpanelplugin;

use strict;
use warnings;

use constant LSCMCTL => '/usr/local/lsws/admin/misc/lscmctl';

exit run() unless caller;

sub run {
    return 0 unless -x LSCMCTL;

    system LSCMCTL, 'cpanelplugin', '--uninstall';

    return 0;
}

1;
