This commit is contained in:
parent
9080e53382
commit
4b701cd467
@ -91,7 +91,10 @@ xmlcatalog --noout --add "nextCatalog" "suse-catalog.xml" "suse-catalog.xml" \
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
xmlcatalog --noout --create %{_sysconfdir}/xml/suse-catalog.xml
|
||||
# only create suse-catalog.xml at installation time; not in the update case
|
||||
if ["$1" = 1 ]; then
|
||||
[ -r %{_sysconfdir}/xml/suse-catalog.xml ] || xmlcatalog --noout --create %{_sysconfdir}/xml/suse-catalog.xml
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user