dpkg-doc-postinst 511 B

12345678910111213141516171819
  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-internals
  9. echo "done."
  10. fi
  11. fi
  12. install-info \
  13. --quiet \
  14. --description="dpkg Internals Guide." \
  15. --section "Miscellaneous" "Miscellaneous" \
  16. /usr/share/info/internals.info.gz