rename to avoid warning

a new version of persistent exports an "exists"
This commit is contained in:
Joey Hess 2021-10-18 16:25:00 -04:00
parent d9fbbb2346
commit 0697dbe2d2
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -180,11 +180,11 @@ escapeHeader = escapeURIString (\c -> isUnescapedInURI c && c /= ' ')
getRepoInfo :: RemoteConfig -> Widget
getRepoInfo c = do
uo <- liftAnnex Url.getUrlOptions
exists <- liftAnnex $ catchDefaultIO False $ Url.exists url uo
urlexists <- liftAnnex $ catchDefaultIO False $ Url.exists url uo
[whamlet|
<a href="#{url}">
Internet Archive item
$if (not exists)
$if (not urlexists)
<p>
The page will only be available once some files #
have been uploaded, and the Internet Archive has processed them.