]> git.pld-linux.org Git - packages/docbook-style-dsssl.git/commitdiff
- preun changes (suppressing removing symlinks when upgrading)
authorklakier <klakier@pld-linux.org>
Fri, 16 Feb 2001 16:04:40 +0000 (16:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    docbook-style-dsssl.spec -> 1.6

docbook-style-dsssl.spec

index cbf9953ec680b43dd4f36c6ee86b07c313c79fd9..1338c4049901e82e32cab09a444ebb582181e9c7 100644 (file)
@@ -97,7 +97,9 @@ ln -sfn dsssl-stylesheets-%{version} %{_datadir}/sgml/docbook/dsssl-stylesheets
 
 %postun
 /usr/bin/install-catalog --remove /etc/sgml/dsssl-stylesheets-%{version}.cat %{_datadir}/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null
+if [ "$1" = 0 ]; then
 rm -f %{_datadir}/sgml/docbook/dsssl-stylesheets
+fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.031368 seconds and 4 git commands to generate.