SPECS: xetex.spec - preun: don't unregister formats on upgrading
qrczak
qrczak at pld-linux.org
Sat Jul 14 18:31:56 CEST 2007
Author: qrczak Date: Sat Jul 14 16:31:56 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- preun: don't unregister formats on upgrading
---- Files affected:
SPECS:
xetex.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/xetex.spec
diff -u SPECS/xetex.spec:1.1 SPECS/xetex.spec:1.2
--- SPECS/xetex.spec:1.1 Sat Jul 14 17:26:11 2007
+++ SPECS/xetex.spec Sat Jul 14 18:31:51 2007
@@ -108,9 +108,11 @@
done
%preun
-for f in xetex xelatex; do
- [ ! -x %{_bindir}/fmtutil-sys ] || fmtutil-sys --disablefmt $f
-done
+if [ "$1" = 0 ]; then
+ for f in xetex xelatex; do
+ [ ! -x %{_bindir}/fmtutil-sys ] || fmtutil-sys --disablefmt $f
+ done
+fi
%postun
[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash
@@ -139,6 +141,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/07/14 16:31:51 qrczak
+- preun: don't unregister formats on upgrading
+
Revision 1.1 2007/07/14 15:26:11 qrczak
- Initial release.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xetex.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list