Accepting request 995205 from home:suse_weber:branches:Base:System

- syntax correction of the preinstall scriptlet to avoid creation 
  of file /0 (bnc#1202377)

OBS-URL: https://build.opensuse.org/request/show/995205
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=135
This commit is contained in:
Dr. Werner Fink 2022-08-16 06:01:25 +00:00 committed by Git OBS Bridge
parent 36852b8a48
commit b54e542cbd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 15 16:48:51 UTC 2022 - <d_werner@gmx.net>
- syntax correction of the preinstall scriptlet to avoid creation
of file /0 (bnc#1202377)
-------------------------------------------------------------------
Thu Aug 11 11:55:04 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -270,7 +270,7 @@ test -d var/catman/ && rm -rf var/catman/ || true
%service_add_pre man-db-create.service
%endif
%endif
if test "$1" > 0 -a -h %{_sysconfdir}/alternatives/man
if test "$1" -gt 0 -a -h %{_sysconfdir}/alternatives/man
then
for ua in man apropos whatis man.1%{ext_man} apropos.1%{ext_man} whatis.1%{ext_man}
do