diff --git a/man.changes b/man.changes index efae6fc..173bf74 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 15 16:48:51 UTC 2022 - + +- 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 diff --git a/man.spec b/man.spec index 3c760e2..4116bf1 100644 --- a/man.spec +++ b/man.spec @@ -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