~ubuntu-branches/debian/wheezy/apt-dater/wheezy

« back to all changes in this revision

Viewing changes to clients/rug/apt-dater-host

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2011-09-27 19:27:05 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: package-import@ubuntu.com-20110927192705-v1zoaomudv6t6rka
Tags: 0.8.6-1
* New upstream release.
  - Use merged apt-dater-host.1 manpage.
  - Remove all patches, they have been merged with this upstream release.
  - Fixed FTBFS.
    Closes: #642696
* Do not recommend aptitude anymore.
* Wrap debian/control lines.
* Add 01-fix-locale-ftbfs.diff to fix another FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# apt-dater - terminal-based remote package update manager
4
4
#
5
 
# $Id: apt-dater-host 561 2011-02-01 07:31:04Z liske $
 
5
# $Id: apt-dater-host 582 2011-09-27 13:45:43Z ellguth $
6
6
#
7
7
# Authors:
8
8
#   Andre Ellguth <ellguth@ibh.de>
168
168
    # get version of installed packages
169
169
    my %installed;
170
170
    my %status;
171
 
    unless(open(HDPKG, "rpm -qa --qf '%{NAME}|%{VERSION}|\n' |")) {
172
 
        print "\nADPERR: Failed to execute \"rpm -qa --qf '%{NAME}|%{VERSION}|\\n'\" ($!).\n";
 
171
    unless(open(HDPKG, "rpm -qa --qf '%{NAME}|%{VERSION}-%{RELEASE}|\n' |")) {
 
172
        print "\nADPERR: Failed to execute \"rpm -qa --qf '%{NAME}|%{VERSION}-%{RELEASE}|\\n'\" ($!).\n";
173
173
        exit(1);
174
174
    };
175
175
 
192
192
    }
193
193
    close(HDPKG);
194
194
    if($?) {
195
 
        print "\nADPERR: Error executing \"rpm -qa --qf '%{NAME}|%{VERSION}|\\n'\" ($?).\n";
 
195
        print "\nADPERR: Error executing \"rpm -qa --qf '%{NAME}|%{VERSION}-%{RELEASE}|\\n'\" ($?).\n";
196
196
        exit(1);
197
197
    };
198
198