view move-if-change @ 90464:4702b592db4c

(Qmonospace, Qsans_serif, Qserif, Qmono, Qsans) (Qsans__serif): New variables. (ftfont_generic_family_list): New variable. (syms_of_ftfont): Initialize the above variables. (ftfont_pattern_entity): Argument NAME deleted. (ftfont_list_generic_family): New function. (ftfont_parse_name): Delete this function. (ftfont_list): Try generic family only when FcFontList found no font. (ftfont_list_family): Fix args to FcObjectSetBuild.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Jun 2006 12:24:58 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi