File: postinstall

package info (click to toggle)
zip 3.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,588 kB
  • sloc: ansic: 50,445; asm: 3,907; makefile: 858; sh: 42
file content (29 lines) | stat: -rw-r--r-- 958 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 '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