From: ellson Date: Wed, 8 Aug 2007 16:37:36 +0000 (+0000) Subject: belt and braces removal of config file X-Git-Tag: LAST_LIBGRAPH~32^2~5425 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a2496d880da5d7a2be1d68f8c2398860c0f3da;p=graphviz belt and braces removal of config file --- diff --git a/graphviz.spec.in b/graphviz.spec.in index 8719b4d11..2111dc31d 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -148,6 +148,11 @@ of graphs (as in nodes and edges, not as in barcharts). if ! test -x %{_bindir}/dot; then rm -f %{_libdir}/graphviz/config || : fi +# "belt and braces" +# be sure that config is removed if main package is gone +if [ $1 -eq 0 ]; then + rm -f %{_libdir}/graphviz/config || : +fi /sbin/ldconfig %files