1995-04-22 02:14:30 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2005-03-25 07:11:28 +01:00
|
|
|
prefix=%%PREFIX%%
|
|
|
|
localbase=%%LOCALBASE%%
|
1995-04-22 02:14:30 +02:00
|
|
|
|
2005-03-25 07:11:28 +01:00
|
|
|
if [ "$2" != "PRE-INSTALL" ]; then
|
1995-04-22 02:14:30 +02:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -f $prefix/bin/MakeTeXPK ]; then
|
|
|
|
echo "**WARNING** MakeTeXPK already exists in $prefix/bin"
|
|
|
|
echo "**WARNING** This file will be replaced during install."
|
|
|
|
echo
|
|
|
|
echo -n "do you want to continue ? [y] "
|
|
|
|
read answ; if [ "$answ" = "" ]; then answ=y; fi
|
|
|
|
case $answ in
|
|
|
|
y*|Y*) break;;
|
|
|
|
*) exit 1;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
|
|
|
cat << END
|
|
|
|
|
|
|
|
This package has been compiled with some defaults:
|
2005-03-25 07:11:28 +01:00
|
|
|
1 fonts will be created in ${localbase}/share/texmf/fonts/pk and this
|
1995-04-22 02:14:30 +02:00
|
|
|
directory will be made world writable
|
|
|
|
|
|
|
|
2 300 dpi fonts will be created with MODE=imagen
|
|
|
|
200 dpi fonts will be created with MODE=FAX
|
|
|
|
360 dpi fonts will be created with MODE=nextII
|
|
|
|
400 dpi fonts will be created with MODE=nexthi
|
|
|
|
72 dpi fonts will be created with MODE=nextscreen
|
|
|
|
|
|
|
|
If you are not satisfied with 1, you need to recompile xdvi
|
2005-03-25 07:11:28 +01:00
|
|
|
If you are not satisfied with 2, you will need to edit $prefix/bin/MakeTeXPK
|
1995-04-22 02:14:30 +02:00
|
|
|
|
|
|
|
END
|
|
|
|
|
|
|
|
echo -n "do you want to install the package ? [y] "
|
|
|
|
read answ; if [ "$answ" = "" ]; then answ=y; fi
|
|
|
|
case $answ in
|
|
|
|
y*|Y*) break;;
|
|
|
|
*) exit 1;;
|
|
|
|
esac
|
|
|
|
|
2005-03-25 07:11:28 +01:00
|
|
|
mkdir -p ${localbase}/share/texmf/fonts/pk; chmod 1777 ${localbase}/share/texmf/fonts/pk
|
1995-04-22 02:14:30 +02:00
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|