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

« back to all changes in this revision

Viewing changes to debian/upgrade-notifier.cron.daily

  • Committer: Michael Vogt
  • Date: 2009-01-23 14:23:22 UTC
  • mfrom: (425.1.1 update-notifier)
  • Revision ID: michael.vogt@ubuntu.com-20090123142322-3h4tadmsky3gm24z
* debian/update-notifier.docs:
  - fix filename and use it again (LP: #319194)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# upgrade-notifier cron daily, will do a apt-get update
4
 
 
5
 
set -e
6
 
 
7
 
if [ -x /usr/bin/upgrade-notifier ]; then
8
 
    if /usr/bin/apt-get update 2>&1 >/dev/null; then
9
 
        dbus-send --system / app.apt.dbus.updated boolean:true
10
 
        #touch /var/lib/apt/lists/update-stamp
11
 
    fi
12
 
fi