dpkg-doc.postinst 358 B

1234567891011121314
  1. #! /bin/sh
  2. if [ "$1" = configure ]; then
  3. if [ -d /usr/doc -a ! -e /usr/doc/dpkg-doc -a -d /usr/share/doc/dpkg-doc ] ; then
  4. ln -s ../share/doc/dpkg-doc /usr/doc/dpkg-doc
  5. fi
  6. if command -v install-docs >/dev/null 2>&1; then
  7. echo -n "Registering DPKG documentation..."
  8. install-docs -i /usr/share/doc-base/dpkg-doc
  9. echo "done."
  10. fi
  11. fi