From ff4c99983642d0e990bcc0d783193c9270634df9 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 25 Apr 2017 10:36:18 +0100 Subject: [PATCH] Fix for relocated DB schema files --- Changes | 6 ++++++ lib/App/Netdisco.pm | 4 ++-- lib/App/Netdisco/DB.pm | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index a6874a7e..75bccf20 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +2.035004 - 2017-04-25 + + [BUG FIXES] + + * Fix for relocated DB schema files + 2.035003 - 2017-04-24 [BUG FIXES] diff --git a/lib/App/Netdisco.pm b/lib/App/Netdisco.pm index 9d31ff53..814f9757 100644 --- a/lib/App/Netdisco.pm +++ b/lib/App/Netdisco.pm @@ -51,7 +51,7 @@ properties. =item * -See the demo at: L +See the demo at: L =back @@ -126,7 +126,7 @@ install Netdisco and its dependencies into the C user's home area (C<~netdisco/perl5>): su - netdisco - curl -L http://cpanmin.us/ | perl - --notest --local-lib ~/perl5 App::Netdisco + curl -L https://cpanmin.us/ | perl - --notest --local-lib ~/perl5 App::Netdisco Link some of the newly installed apps into a handy location: diff --git a/lib/App/Netdisco/DB.pm b/lib/App/Netdisco/DB.pm index 9315a99f..72898442 100644 --- a/lib/App/Netdisco/DB.pm +++ b/lib/App/Netdisco/DB.pm @@ -17,7 +17,7 @@ use Path::Class; use File::ShareDir 'dist_dir'; our $schema_versions_dir = Path::Class::Dir->new( dist_dir('App-Netdisco') ) - ->subdir("DB", "schema_versions")->stringify; + ->subdir('schema_versions')->stringify; __PACKAGE__->load_components(qw/ Schema::Versioned