add syntaxc check for fedora