[DRE-commits] [gem2deb] 01/01: dh-make-ruby: adjust `apt-file`-related error message to new apt-file

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Mar 25 13:48:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit 933dcd03c968bfccb1c01e11469d6c5e26b9318d
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Mar 25 10:47:51 2016 -0300

    dh-make-ruby: adjust `apt-file`-related error message to new apt-file
---
 debian/changelog            | 8 ++++++++
 lib/gem2deb/dh_make_ruby.rb | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1854bcd..813e790 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gem2deb (0.30.2) UNRELEASED; urgency=medium
+
+  * dh-make-ruby:
+    - replace mentions of `apt-file update` with `apt update`, following new
+      version of apt-file
+
+ -- Antonio Terceiro <terceiro at debian.org>  Fri, 25 Mar 2016 10:46:45 -0300
+
 gem2deb (0.30.1) unstable; urgency=medium
 
   * Gem2Deb::Metadata:
diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index 07a3a8c..b20d3e3 100644
--- a/lib/gem2deb/dh_make_ruby.rb
+++ b/lib/gem2deb/dh_make_ruby.rb
@@ -152,12 +152,12 @@ module Gem2Deb
           else
             puts 'E: dh-make-ruby needs an up-to-date apt-file cache in order to map gem names'
             puts 'E: to package names but apt-file has an invalid cache. Please run '
-            puts 'E: `apt-file update` and make sure that `apt-file search` works.'
+            puts 'E: `apt update` and make sure that `apt-file search` works.'
             exit 1
           end
         else
           puts 'E: dh-make-ruby needs an up-to-date apt-file cache in order to map gem names to package names'
-          puts 'E: make sure that apt-file has an updated cache (run `apt-file update`)'
+          puts 'E: make sure that apt-file has an updated cache (run `apt update`)'
           exit $?.exitstatus
         end
       end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list