debian/cubicweb-documentation.postinst
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 28 Apr 2010 16:13:56 +0200
changeset 5430 ed8f71e244f8
parent 0 b97547f5f1fa
permissions -rw-r--r--
[shell] #715938: support of script parameters (using standard '--' as arguments separator) Arguments after bare "--" string will not be processed by the shell command You can use it to pass extra arguments to your script and expect for them in 'scriptargs' afterwards.

#! /bin/sh -e
#

if [ "$1" = configure ]; then
  if which install-docs >/dev/null 2>&1; then
    install-docs -i /usr/share/doc-base/cubicweb-doc
  fi
fi


#DEBHELPER#

exit 0