~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to data/apt-check

  • Committer: mvo
  • Date: 2005-03-31 10:53:17 UTC
  • Revision ID: gustavo@niemeyer.net-20050331105317-023f8506df1e8f12
* data/apt-check, src/update.c:
  - use stderr to get the number of upgrades
* configure.in:
  - bump version

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        if depcache.GetCandidateVer(pkg) != pkg.CurrentVer:
39
39
                upgrades = upgrades + 1 
40
40
 
41
 
# return the number of upgrades
42
 
sys.exit(upgrades)
 
41
# print the number of upgrades
 
42
sys.stderr.write("%s" % upgrades)
 
43
 
43
44