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

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Andrea Azzarone
  • Date: 2019-03-13 10:05:20 UTC
  • mto: This revision was merged to the branch mainline in revision 956.
  • Revision ID: azzaronea@gmail.com-20190313100520-024zyxvlpm81vgrq
Add livepatch status icons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
# check if we have a unmodified conf-file rm upgrade-notifer
 
6
if [ -f /etc/apt/apt.conf.d/99upgrade-notifier ]; then
 
7
    if echo "9aff569ff6afcff455d5ba59c0587bab  /etc/apt/apt.conf.d/99upgrade-notifier" | md5sum -c 2>/dev/null; then
 
8
        rm -f  /etc/apt/apt.conf.d/99upgrade-notifier
 
9
    fi
 
10
fi
 
11
 
 
12
#DEBHELPER#