File: postinst

package info (click to toggle)
xpostitplus 2.3.1-10
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 464 kB
  • ctags: 661
  • sloc: ansic: 4,831; makefile: 527; sh: 70
file content (10 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e
if test -x /usr/bin/update-menus; then update-menus; fi

if [ "$1" = "configure" ]; then
    if [ -d /usr/doc -a ! -e /usr/doc/xpositplus -a -d /usr/share/doc/xpositplus ]; then
        ln -sf ../share/doc/xpositplus /usr/doc/xpositplus
    fi
fi