urlfetcher: Fix detection with latest ALT media

This commit is contained in:
Cole Robinson 2018-01-05 18:11:11 -05:00
parent a183031793
commit 26046c5948

View File

@ -1372,7 +1372,7 @@ class ALTLinuxDistro(Distro):
if not self.fetcher.hasFile(".disk/info"):
return False
if self._fetchAndMatchRegex(".disk/info", ".*%s.*" % self.name):
if self._fetchAndMatchRegex(".disk/info", ".*ALT .*"):
return True
logging.debug("Regex didn't match, not a %s distro", self.name)