postinstall 958 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/sh
  2. #
  3. # Info-ZIP Zip post-installation script.
  4. #
  5. # Last revised: 2007-09-29 SMS. Zip 3.0.
  6. #
  7. # Post installation script (simply inform installer about PATH etc)
  8. #
  9. echo ''
  10. echo 'Installation is complete. Users should adjust their environment'
  11. echo 'variables to include these directories:'
  12. echo " PATH: ${BASEDIR}/${PKG}/bin"
  13. echo " MANPATH: ${BASEDIR}/${PKG}/man"
  14. echo ''
  15. echo "Commands like the following may be added to a user's shell start-up"
  16. echo 'file (.cshrc, .login, .profile, ...) to do this:'
  17. echo ''
  18. echo ' For a Bourne-like shell:'
  19. echo " PATH=\"\${PATH}:${BASEDIR}/${PKG}/bin\""
  20. echo " MANPATH=\"\${MANPATH}:${BASEDIR}/${PKG}/man\""
  21. echo ' export PATH MANPATH'
  22. echo ''
  23. echo ' For a C shell:'
  24. echo " setenv PATH \"\${PATH}:${BASEDIR}/${PKG}/bin\""
  25. echo " setenv MANPATH \"\${MANPATH}:${BASEDIR}/${PKG}/man\""
  26. echo ''
  27. echo "See the files under ${BASEDIR}/${PKG}/doc for more information."
  28. echo ''
  29. exit 0