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

« back to all changes in this revision

Viewing changes to debian/update-notifier-release.conf

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
description "Notification regarding a new release of Ubuntu"
2
 
author "Brian Murray <brian@ubuntu.com>"
3
 
 
4
 
# release-upgrade-available is provided by /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
5
 
start on (
6
 
    file FILE=/var/lib/ubuntu-release-upgrader/release-upgrade-available EVENT=create
7
 
)
8
 
 
9
 
 
10
 
script
11
 
DATE=$(date)
12
 
echo "$DATE new release available"
13
 
if [ -s $FILE ]; then
14
 
    # use the --devel switch to check for a devel release
15
 
    /usr/lib/ubuntu-release-upgrader/check-new-release-gtk
16
 
fi
17
 
end script