~ubuntu-branches/ubuntu/raring/lsb/raring-proposed

« back to all changes in this revision

Viewing changes to debian/lsb-release.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2008-06-04 13:18:56 UTC
  • Revision ID: james.westby@ubuntu.com-20080604131856-7m7o2n5xy28fk8s2
Tags: 3.2-12ubuntu1
* Merge from debian unstable, remaining changes:
  - init-functions:
    + Debian has a "return 0" that should be "return 3" per LSB spec
    + Make pidof call "set -e safe", LP: #204594
    + Add status_of_proc() function, LP: #203169
  - debian/control:
    + Remove python from conflicts
    + Keep Ubuntu's Depends and Suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
case "$1" in
4
4
    configure)
5
 
        if dpkg --compare-versions "$2" lt-nl 3.0-8; then
6
 
            if [ -e /etc/lsb-release ]; then
7
 
                MD5SUM=`md5sum /etc/lsb-release | cut -d" " -f1`
8
 
                if [ "$MD5SUM" = "b5bfe10d9b02fb4e4a45337d1c4d88ab" ]; then
9
 
                    rm -f /etc/lsb-release
10
 
                fi
 
5
        if [ -e /etc/lsb-release ]; then
 
6
            MD5SUM=`md5sum /etc/lsb-release | cut -d" " -f1`
 
7
            if [ "$MD5SUM" = "b5bfe10d9b02fb4e4a45337d1c4d88ab" ]; then
 
8
                rm -f /etc/lsb-release
11
9
            fi
12
10
        fi
13
11
        ;;