Debian Codegraph @

extras/linux/INSTALL

raw
1 ### This is the INSTALL script for the the stuff in the linux directory.
2 ### (2-22-98)
3
4 DIR=$PWD
5
6 cp -p modemu /usr/bin
7 cp -p mtelnet /usr/bin
8 cp -p lrz /usr/bin
9 cp -p lsz /usr/bin
10
11 if [ -d /usr/man/man1 ]; then
12 cp ../man/lrz.1 ../man/lsz.1 ../man/modemu.1 /usr/man/man1
13 elif [ -d /usr/local/man/man1 ]; then
14 cp ../man/lrz.1 ../man/lsz.1 ../man/modemu.1 /usr/local/man/man1
15 else
16 MSG="NO"
17 fi
18
19 cd /usr/bin
20 ln -sf lrz rz
21 ln -sf lrz rx
22 ln -sf lrz rb
23 ln -sf lsz sz
24 ln -sf lsz sx
25 ln -sf lsz sb
26
27 cd $DIR
28
29 if [ ! -L /lib/libncurses.so.4 -a ! -L /usr/lib/libncurses.so.4 ]; then
30 echo
31 echo "You need libncurses.so.? to use minicom."
32 echo "You also need a link to libncurses.so.? called libncurses.so.4."
33 echo "ln -sf libncurses.so.? libncurses.so.4 <-Create link.)"
34 fi
35
36 echo
37 echo "The programs (lrz lsz modemu) are in /usr/bin."
38
39 if [ "$MSG" = "NO" ]; then
40 echo "Man pages not installed, no /usr/man/man1 or /usr/local/man/man1 directory."
41 else
42 echo "The man pages for the programs are in /usr/man/man1 or /usr/local/man/man1."
43 fi
44
45 echo
46 echo "Done... I hope there were no problems."
47 echo