From fc3bda77cbf8f95241b997fa5bcf3c0e3a2e809b Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 27 Sep 2014 10:57:59 +0100 Subject: [PATCH] better way to specify Dancer force version --- Netdisco/lib/App/Netdisco.pm | 4 ++-- Netdisco/lib/App/Netdisco/Manual/ReleaseNotes.pod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Netdisco/lib/App/Netdisco.pm b/Netdisco/lib/App/Netdisco.pm index 90e2e4e7..54399359 100644 --- a/Netdisco/lib/App/Netdisco.pm +++ b/Netdisco/lib/App/Netdisco.pm @@ -123,7 +123,7 @@ install Netdisco and its dependencies into the C user's home area su - netdisco curl -L http://cpanmin.us/ | perl - --notest --local-lib ~/perl5 App::Netdisco - ~/bin/localenv cpanm --force https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Dancer-1.3126.tar.gz + ~/bin/localenv cpanm --notest --force Dancer@1.3126 Link some of the newly installed apps into a handy location: @@ -200,7 +200,7 @@ Notes|App::Netdisco::Manual::ReleaseNotes>. Then, the process is as follows: ~/bin/localenv cpanm --notest App::Netdisco # workaround for current upstream bug - ~/bin/localenv cpanm --force https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Dancer-1.3126.tar.gz + ~/bin/localenv cpanm --notest --force Dancer@1.3126 # apply database schema updates ~/bin/netdisco-deploy diff --git a/Netdisco/lib/App/Netdisco/Manual/ReleaseNotes.pod b/Netdisco/lib/App/Netdisco/Manual/ReleaseNotes.pod index 18460a92..8658e1fa 100644 --- a/Netdisco/lib/App/Netdisco/Manual/ReleaseNotes.pod +++ b/Netdisco/lib/App/Netdisco/Manual/ReleaseNotes.pod @@ -43,7 +43,7 @@ but they are backwards compatible. When upgrading you will encounter a current incompatibility between Netdisco and one of its components. To work around this, issue the following command: - ~/bin/localenv cpanm --force https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Dancer-1.3126.tar.gz + ~/bin/localenv cpanm --notest --force Dancer@1.3126 =head1 2.029002