File: llvm.postinst

package info (click to toggle)
llvm-defaults 0.14%2Bnmu2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 56 kB
  • sloc: makefile: 141; sh: 21
file content (13 lines) | stat: -rw-r--r-- 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

# Replace documentation directory with symlink
if [ -d /usr/share/doc/llvm ] && [ ! -L /usr/share/doc/llvm ]; then
    if rmdir /usr/share/doc/llvm 2>/dev/null; then
        ln -sf llvm-runtime /usr/share/doc/llvm
    fi
fi

#DEBHELPER#

exit 0