Accepting request 995603 from Base:System

- syntax correction of the preinstall scriptlet to avoid creation 
  of file /0 (bnc#1202377) (forwarded request 995205 from suse_weber)

OBS-URL: https://build.opensuse.org/request/show/995603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=90
This commit is contained in:
Richard Brown 2022-08-17 16:16:35 +00:00 committed by Git OBS Bridge
commit 4d9766cbca
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