~free.ekanayaka/landscape-client/jaunty-1.5.4-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to debian/landscape-client.cron.hourly

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2008-09-23 18:19:26 UTC
  • Revision ID: james.westby@ubuntu.com-20080923181926-tbeimz44oxgualtp
Tags: 1.0.21-0ubuntu2
* debian/rules: Install an hourly cron job to update smart package data.
  Thanks to Christopher Armstrong (LP: #268765).
* debian/control:
  - Move ${misc:Depends} to Depends.
  - Add VCS-* headers.
* debian/landscape-client.postrm:
  - remove /etc/default/landscape-client when the package is purged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
[ -f "/etc/default/landscape-client" ] || exit 0
 
4
 
 
5
. /etc/default/landscape-client
 
6
 
 
7
if [ "$RUN" -eq "1" ] 
 
8
then
 
9
        [ -x /usr/share/smart/smart ] && /usr/share/smart/smart update > /dev/null 2>&1
 
10
fi
 
11
 
 
12
exit 0