Skip to content
  • Lukas Fleischer's avatar
    git-update: Improve error message on invalid pkgbase · d0be6601
    Lukas Fleischer authored
    
    
    When the package base does not match the repository name, we currently
    show an error message that only mentions the package base name:
    
        error: invalid pkgbase: yate-qt4
    
    To the end user this sounds like the package base name is malformed
    itself (and we show exactly the same error message when it contains
    invalid characters, indeed). Clarify that there is a name mismatch by
    also printing the expected value:
    
        error: invalid pkgbase: yate-qt4, expected: yate4-qt
    
    Inspired by FS#45483.
    
    Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
    d0be6601