File: postinst

package info (click to toggle)
xwave 0.6%2B2-10
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,908 kB
  • ctags: 2,026
  • sloc: ansic: 15,177; perl: 345; makefile: 75; sh: 63
file content (13 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -eu

# Menu system
if [ "$1" = "configure" -a -x /usr/bin/update-menus ] ; then update-menus ; fi

# FSSTND -> FHS
pkg=xwave
if [ "$1" = "configure" ]; then
 if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
  ln -sf ../share/doc/$pkg /usr/doc/$pkg
 fi
fi