Ticket 49857 - RPM scriptlet for 389-ds-base-legacy-tools throws an error
Bug Description: If no instances are present when the legacy tool
subpackage is installed the RPM scriplet throws an
error:
line 29: [: -eq: unary operator expected
Fix Description: The error occurs because a variable that counts the
existing instances is not initialized.
https://pagure.io/389-ds-base/issue/49857
Reviewed by: mreynolds (one line commit rule)