File: lsb-release.postrm

package info (click to toggle)
lsb 3.2-23.2squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 336 kB
  • ctags: 93
  • sloc: python: 740; sh: 259; makefile: 108; perl: 6
file content (14 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

case "$1" in
    purge)
        if [ -e /etc/lsb-release ]; then
            MD5SUM=`md5sum /etc/lsb-release | cut -d" " -f1`
            if [ "$MD5SUM" = "b5bfe10d9b02fb4e4a45337d1c4d88ab" ]; then
                rm -f /etc/lsb-release
            fi
        fi
        ;;
esac

#DEBHELPER#