source: pkg/boss/main/update-notifier/trunk/debian/update-notifier.cron.daily @ 4457

Revision 4054, 277 bytes checked in by alanbach-guest, 5 years ago (diff)
  • Merged updates from Debian
  • debian/changelog.ubuntu:
    • updated from the Ubuntu package
Line 
1#!/bin/sh
2#
3# upgrade-notifier cron daily, will do a apt-get update
4
5set -e
6
7if [ -x /usr/bin/update-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
12fi
Note: See TracBrowser for help on using the repository browser.