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

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Michael Vogt
  • Date: 2008-11-10 18:04:02 UTC
  • Revision ID: michael.vogt@ubuntu.com-20081110180402-lvolg0ct1xr4vqoi
* debian/update-notifier-common.install:
  - move apt-check, apt-cdrom-check and cdromdistupgrade
    into update-notifier-common

Show diffs side-by-side

added added

removed removed

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