a9fa210 Ticket 49857 - RPM scriptlet for 389-ds-base-legacy-tools throws an error

Authored and Committed by mreynolds 5 years ago
    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)
    
        
file modified
+1 -0