summaryrefslogtreecommitdiff
path: root/unix/Packaging/postinstall
diff options
context:
space:
mode:
Diffstat (limited to 'unix/Packaging/postinstall')
-rw-r--r--[-rwxr-xr-x]unix/Packaging/postinstall41
1 files changed, 24 insertions, 17 deletions
diff --git a/unix/Packaging/postinstall b/unix/Packaging/postinstall
index 030067d..086ec26 100755..100644
--- a/unix/Packaging/postinstall
+++ b/unix/Packaging/postinstall
@@ -1,22 +1,29 @@
#!/bin/sh
#
+# Info-ZIP Zip post-installation script.
+#
+# Last revised: 2007-09-29 SMS. Zip 3.0.
+#
# Post installation script (simply inform installer about PATH etc)
#
-echo " "
-echo " "
-echo "Installation is complete. Now, you should add the following"
-echo "(or equivalnet) commands to the appropriate initial user shell"
-echo "scripts (such as .profile, .login, etc) -- "
-echo " "
-echo " For korn or bourne shell:"
-echo " PATH=\${PATH}:${BASEDIR}/${PKG}/bin"
-echo " MANPATH=\${MANPATH}:${BASEDIR}/${PKG}/man"
-echo " export PATH MANPATH"
-echo " "
-echo " For C shell:"
-echo " set path=(\$path ${BASEDIR}/${PKG}/bin)"
-echo " setenv MANPATH \$MANPATH:${BASEDIR}/${PKG}/man"
-echo " "
-echo " See the files under ${BASEDIR}/${PKG}/doc for more information."
-echo " "
+echo ''
+echo 'Installation is complete. Users should adjust their environment'
+echo 'variables to include these directories:'
+echo " PATH: ${BASEDIR}/${PKG}/bin"
+echo " MANPATH: ${BASEDIR}/${PKG}/man"
+echo ''
+echo "Commands like the following may be added to a user's shell start-up"
+echo 'file (.cshrc, .login, .profile, ...) to do this:'
+echo ''
+echo ' For a Bourne-like shell:'
+echo " PATH=\"\${PATH}:${BASEDIR}/${PKG}/bin\""
+echo " MANPATH=\"\${MANPATH}:${BASEDIR}/${PKG}/man\""
+echo ' export PATH MANPATH'
+echo ''
+echo ' For a C shell:'
+echo " setenv PATH \"\${PATH}:${BASEDIR}/${PKG}/bin\""
+echo " setenv MANPATH \"\${MANPATH}:${BASEDIR}/${PKG}/man\""
+echo ''
+echo "See the files under ${BASEDIR}/${PKG}/doc for more information."
+echo ''
exit 0