packages: ghc/ghc.spec - take care of package bin missing on package uninstall
glen
glen at pld-linux.org
Sun Aug 29 21:04:15 CEST 2010
Author: glen Date: Sun Aug 29 19:04:15 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- take care of package bin missing on package uninstall
---- Files affected:
packages/ghc:
ghc.spec (1.112 -> 1.113)
---- Diffs:
================================================================
Index: packages/ghc/ghc.spec
diff -u packages/ghc/ghc.spec:1.112 packages/ghc/ghc.spec:1.113
--- packages/ghc/ghc.spec:1.112 Fri Aug 27 22:56:54 2010
+++ packages/ghc/ghc.spec Sun Aug 29 21:04:07 2010
@@ -219,7 +219,9 @@
%{_bindir}/ghc-pkg recache
%postun
-%{_bindir}/ghc-pkg recache
+if [ "$1" != 0 ]; then
+ %{_bindir}/ghc-pkg recache
+fi
%files
%defattr(644,root,root,755)
@@ -813,6 +815,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.113 2010/08/29 19:04:07 glen
+- take care of package bin missing on package uninstall
+
Revision 1.112 2010/08/27 20:56:54 baggins
- rel 2
- internal ghc-binary is not the same thing as ghc-binary package
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc/ghc.spec?r1=1.112&r2=1.113&f=u
More information about the pld-cvs-commit
mailing list