From 6c4988a3a24d75635ca88d2eaab5ac7483ee8dd0 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 2 Jan 2018 14:27:32 +0000 Subject: [PATCH] use new release filename for netdisco-mibs --- bin/netdisco-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/netdisco-deploy b/bin/netdisco-deploy index e7106907..5d8f7bee 100755 --- a/bin/netdisco-deploy +++ b/bin/netdisco-deploy @@ -289,8 +289,8 @@ sub deploy_mibs { if ($resp->{url} =~ m/([0-9.]+)$/) { my $ver = $1; - my $url = 'https://codeload.github.com/netdisco/netdisco-mibs/tar.gz/'. $ver; - my $file = file($home, 'netdisco-mibs-latest.tar.gz'); + my $url = "https://github.com/netdisco/netdisco-mibs/releases/download/${ver}/netdisco-mibs.tar.gz"; + my $file = file($home, 'netdisco-mibs.tar.gz'); $resp = HTTP::Tiny->new->mirror($url, $file); if ($resp->{success}) {