- don't complain on non-X11 platforms where install-x11-fonts script

does not exist.
This commit is contained in:
Bryce Denney 2002-09-04 18:18:32 +00:00
parent 462797bb16
commit ce17b410ab
1 changed files with 4 additions and 1 deletions

View File

@ -50,7 +50,10 @@ and other OS's, all on your workstation.
rm -rf $RPM_BUILD_ROOT
fi
%post
/usr/share/bochs/install-x11-fonts
# for non-X-windows RPM, this script doesn't exist.
if test -x /usr/share/bochs/install-x11-fonts; then
/usr/share/bochs/install-x11-fonts
fi
%preun
# clean up the bochsout.txt that is always produced if you
# run bochs-dlx.