fix spelling of upgradeable
This commit is contained in:
parent
7cb5d4a6bf
commit
4f7b8ce09d
3 changed files with 5 additions and 5 deletions
|
@ -27,11 +27,11 @@ latestVersion = RepoVersion 9
|
|||
supportedVersions :: [RepoVersion]
|
||||
supportedVersions = map RepoVersion [8, 9]
|
||||
|
||||
upgradableVersions :: [RepoVersion]
|
||||
upgradeableVersions :: [RepoVersion]
|
||||
#ifndef mingw32_HOST_OS
|
||||
upgradableVersions = map RepoVersion [0..8]
|
||||
upgradeableVersions = map RepoVersion [0..8]
|
||||
#else
|
||||
upgradableVersions = map RepoVersion [2..8]
|
||||
upgradeableVersions = map RepoVersion [2..8]
|
||||
#endif
|
||||
|
||||
autoUpgradeableVersions :: M.Map RepoVersion RepoVersion
|
||||
|
|
|
@ -66,7 +66,7 @@ showPackageVersion = do
|
|||
vinfo "supported repository versions" $
|
||||
verlist supportedVersions
|
||||
vinfo "upgrade supported from repository versions" $
|
||||
verlist upgradableVersions
|
||||
verlist upgradeableVersions
|
||||
where
|
||||
verlist = unwords . map showRepoVersion
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ needsUpgrade v
|
|||
| v `elem` supportedVersions = ok
|
||||
| otherwise = case M.lookup v autoUpgradeableVersions of
|
||||
Nothing
|
||||
| v `elem` upgradableVersions ->
|
||||
| v `elem` upgradeableVersions ->
|
||||
err "Upgrade this repository: git-annex upgrade"
|
||||
| otherwise ->
|
||||
err "Upgrade git-annex."
|
||||
|
|
Loading…
Reference in a new issue