File: rafkill.postinst

package info (click to toggle)
rafkill 1.2.2-3.2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 13,264 kB
  • ctags: 5,074
  • sloc: cpp: 13,508; makefile: 64; sh: 14
file content (13 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

DOCDIR="/usr/share/doc/rafkill"

if [ -d "$DOCDIR" -a ! -L "$DOCDIR" ]; then
  rmdir --ignore-fail-on-non-empty "$DOCDIR"
  if [ ! -d "$DOCDIR" ]; then
    ln -s rafkill-data "$DOCDIR"
  fi
fi

#DEBHELPER#