This commit is contained in:
parent
5a17d00f50
commit
2eadf76046
@ -92,8 +92,9 @@ rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
# 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
|
||||
if [ "$1" = 1 ]; then
|
||||
[ -r %{_sysconfdir}/xml/suse-catalog.xml ] \
|
||||
|| xmlcatalog --noout --create %{_sysconfdir}/xml/suse-catalog.xml
|
||||
fi
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user