]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1251672: "cpanm" is easier to remember and to type than "curl -L http://cpanmin...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 7 Mar 2016 16:58:37 +0000 (17:58 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 7 Mar 2016 16:58:37 +0000 (17:58 +0100)
r=dylan

docs/en/rst/installing/linux.rst
docs/en/rst/installing/mac-os-x.rst

index e1672fc2ab8fef6a72d151a7eee45a6868e0b5f2..edbe7b49fd3306800830a28014526800f26a7d3c 100644 (file)
@@ -153,14 +153,18 @@ To make sure you have all the core requirements to run Bugzilla, you should run
 
 :command:`perl Makefile.PL`
 
-Should this command warn about missing prerequisites -- or prerequisites that are too old,
-you may use cpanm to install these.
+Should this command warn about missing prerequisites -- or prerequisites that
+are too old, you may use :file:`cpanm` to install these.
 
-:command:`curl -L http://cpanmin.us | perl - --installdeps -l local .`
+:command:`cpanm --installdeps -l local .`
 
 If you want a more full-featured Bugzilla, use the following command:
 
-:command:`curl -L http://cpanmin.us | perl - --installdeps -l local --with-all-features --without-feature mod_perl --without-feature oracle --without-feature mysql --without-feature pg .`
+:command:`cpanm --installdeps -l local --with-all-features --without-feature mod_perl --without-feature oracle --without-feature mysql --without-feature pg .`
+
+If you don't have :file:`cpanm` installed, you can either find it in your
+:file:`cpanminus` or :file:`perl-App-cpanminus` package, or
+`download it <http://cpanmin.us>`_  from cpanmin.us.
 
 .. _linux-config-webserver:
 
index 938088272c4622d1491030d00e43e84b3a7fdc95..7bf6ead96ef700ad7e3b98d32e4a1bdfbe68fd0d 100644 (file)
@@ -74,13 +74,16 @@ Perl Modules
 Bugzilla requires a number of Perl modules. Generally, the best way to install
 these is with the cpanm command.
 
-Generally, the best way to install these is with cpanm:
+Generally, the best way to install these is with :file:`cpanm`:
 
-:command:`curl -L http://cpanmin.us | perl - --installdeps -l local .`
+:command:`cpanm --installdeps -l local .`
 
 If you want a more full-featured Bugzilla:
 
-:command:`curl -L http://cpanmin.us | perl - --installdeps -l local --with-all-features --without-feature oracle --without-feature mysql --without-feature pg`
+:command:`cpanm --installdeps -l local --with-all-features --without-feature oracle --without-feature mysql --without-feature pg`
+
+If you don't have :file:`cpanm` installed, you can
+`download it <http://cpanmin.us>`_  from cpanmin.us.
 
 .. _macosx-config-webserver: