File: lsb-release.postinst

package info (click to toggle)
lsb 9.20161125
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 316 kB
  • ctags: 71
  • sloc: python: 1,151; sh: 284; makefile: 76; perl: 6
file content (16 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

case "$1" in
    configure)
        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#