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

« back to all changes in this revision

Viewing changes to debian/90-updates-available

  • Committer: Balint Reczey
  • Date: 2019-09-20 12:39:57 UTC
  • mto: This revision was merged to the branch mainline in revision 976.
  • Revision ID: balint.reczey@canonical.com-20190920123957-cm5cz5qmigjssynv
Update changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
stamp="/var/lib/update-notifier/updates-available"
 
4
 
 
5
[ ! -r "$stamp" ] || cat "$stamp"
 
6
 
 
7
find $stamp -newermt 'now-7 days' 2> /dev/null | grep -q -m 1 '.' || /usr/share/update-notifier/notify-updates-outdated