File: lsb-release.postinst

package info (click to toggle)
lsb 11.1.0
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 292 kB
  • sloc: python: 1,159; sh: 188; makefile: 67; 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#