Hallo,
as requested, i filed the bug report.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031403
a patch is attached.
because of the large number of existing bugs against the 'debian-policy'
package, i am not 100% sure a similar bug did not already exist.
However, i could not find any existing similar bug.
best regards,
Max
On 15/02/2023 21:57, Sean Whitton wrote:
Hello,
On Wed 15 Feb 2023 at 01:46PM +01, Max-Julian Pogner wrote:
there's a small typo in file policy/ap-pkg-diversions.rst list 53
(salsa link:
https://salsa.debian.org/dbnpolicy/policy/-/blob/3cfbd29f3d412894b275fbb98624d3e7d8f9dd4c/policy/ap-pkg-diversions.rst?plain=1#L53
)
The line currently reads
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1 ]; then
which contains a shell syntax error, but it should instead read:
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
note the difference in quoting (one double quote added).
Thanks, but could you file this as a bug?