* Bugfix: fixed %postun routine, so catalog entries only get removed
on a real package installation OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=18
This commit is contained in:
parent
ebf90d621e
commit
8869f7ec2a
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:d80e66d2f4c74422982fb125ce28be90f75eb4b50d8b4353aed1b96dcdb1b707
|
oid sha256:2471b6377f4f88735bb153b158a0e804f5f95c246a5302f24e451945dea9c052
|
||||||
size 748832
|
size 735144
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 20 14:34:57 UTC 2012 - fsundermeyer@opensuse.org
|
||||||
|
|
||||||
|
* Bugfix: fixed %postun routine, so catalog entries only get removed
|
||||||
|
on a real package installation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 20 09:26:57 UTC 2012 - toms@opensuse.org
|
Tue Mar 20 09:26:57 UTC 2012 - toms@opensuse.org
|
||||||
|
|
||||||
|
@ -120,6 +120,11 @@ exit 0
|
|||||||
#
|
#
|
||||||
# Remove catalog entries
|
# Remove catalog entries
|
||||||
#
|
#
|
||||||
|
# delete catalog entries
|
||||||
|
# only run if package is really uninstalled ($1 = 0) and not
|
||||||
|
# in case of an update
|
||||||
|
#
|
||||||
|
if [ 0 = $1 ]; then
|
||||||
if [ ! -f %{_sysconfdir}/xml/%{novdoc_catalog} -a -x /usr/bin/edit-xml-catalog ] ; then
|
if [ ! -f %{_sysconfdir}/xml/%{novdoc_catalog} -a -x /usr/bin/edit-xml-catalog ] ; then
|
||||||
# SGML
|
# SGML
|
||||||
for c in catalog/CATALOG.%{dtdname}-%{dtdversion}; do
|
for c in catalog/CATALOG.%{dtdname}-%{dtdversion}; do
|
||||||
@ -133,6 +138,7 @@ if [ ! -f %{_sysconfdir}/xml/%{novdoc_catalog} -a -x /usr/bin/edit-xml-catalog ]
|
|||||||
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
|
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
|
||||||
--del %{name}
|
--del %{name}
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user