- once it's gzipped, chmod needed a different name (+ .gz)

This commit is contained in:
Bryce Denney 2001-12-02 04:24:11 +00:00
parent dbd75fc354
commit fe6d4c8d88

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# install-x11-fonts
# $Id: install-x11-fonts.in,v 1.4 2001-12-02 04:20:34 bdenney Exp $
# $Id: install-x11-fonts.in,v 1.5 2001-12-02 04:24:11 bdenney Exp $
#
# This is designed help people to get the Bochs fonts installed on their
# system.
@ -92,7 +92,7 @@ for f in $FONTS; do
if test ! $? = 0; then
echo ERROR: Copy failed; die
fi
echo Compressing the font with gzip.
echo Compressing the font with gzip...
gzip $fontpath/misc/$f
if test ! $? = 0; then
echo ERROR: Failed to gzip the font.; die
@ -100,7 +100,7 @@ for f in $FONTS; do
else
echo "ok (it was already there)"
fi
chmod a+r $fontpath/misc/$f
chmod a+r $fontpath/misc/$f.gz
done
echo Running mkfontdir...