File: libopenexr-dev.postinst

package info (click to toggle)
openexr 1.2.2-4.3%2Betch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 15,532 kB
  • ctags: 3,410
  • sloc: cpp: 40,009; sh: 8,399; makefile: 345
file content (19 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# $Id$
# vim:ts=4:sw=4:expandtab:

set -e

if [ "$1" = "configure" ]
then
    # Convert empty directory into a symlink
    if [ ! -L /usr/share/doc/libopenexr-dev ]
    then
        rm -rf /usr/share/doc/libopenexr-dev
        ln -s /usr/share/doc/libopenexr2c2a /usr/share/doc/libopenexr-dev
    fi
fi

#DEBHELPER#

exit 0