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

« back to all changes in this revision

Viewing changes to debian/preinst

  • 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
 
#!/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#