~ubuntu-branches/ubuntu/raring/ettercap/raring-proposed

« back to all changes in this revision

Viewing changes to debian/ettercap-graphical.postinst

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2013-01-29 16:01:52 UTC
  • mfrom: (3.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20130129160152-qbkch41k27dz5jwg
Tags: 1:0.7.5.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
set -e
4
4
 
5
5
# Replace documentation directory with symlink
6
 
docdir="/usr/share/doc/ettercap-graphical"
 
6
docdir="/usr/share/doc/${DPKG_MAINTSCRIPT_PACKAGE}"
7
7
if [ -d ${docdir} -a ! -L $docdir ]; then
8
8
    if rmdir ${docdir} 2>/dev/null; then
9
9
        ln -sf /usr/share/doc/ettercap-common ${docdir}