File: preinst

package info (click to toggle)
update-notifier 0.99.3debian8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,124 kB
  • ctags: 262
  • sloc: ansic: 2,489; sh: 1,212; python: 206; makefile: 66
file content (12 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

# check if we have a unmodified conf-file rm upgrade-notifer
if [ -f /etc/apt/apt.conf.d/99upgrade-notifier ]; then
    if echo "9aff569ff6afcff455d5ba59c0587bab  /etc/apt/apt.conf.d/99upgrade-notifier" | md5sum -c 2>/dev/null; then
        rm -f  /etc/apt/apt.conf.d/99upgrade-notifier
    fi
fi

#DEBHELPER#