File: preinst

package info (click to toggle)
update-notifier 0.70.7.debian-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,592 kB
  • ctags: 290
  • sloc: sh: 3,776; ansic: 2,628; makefile: 155; python: 141
file content (11 lines) | stat: -rw-r--r-- 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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#