Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



bydaiviermarquez, July 6, 2022
Besides changing the protocol form http to https in the following part of the script:

my $mw_dl_url = "https://www.mediawiki.org/wiki/Download";

There must be added an elsif to handle the change from tar.gz to zip in the format available for download, like this:

if ( $latest_url =~ m/.*mediawiki-(.*).tar.gz/ ) {
$mw_latest_version = $1;
elsif ( $latest_url =~ m/.*mediawiki-(.*).zip/ ) {
$mw_latest_version = $1;