implements checking if file already exists for Cabal installs

This commit is contained in:
Arjun Kathuria
2021-08-11 10:33:08 +05:30
parent ce6fb0bb1e
commit c2c5625685
3 changed files with 8 additions and 1 deletions

View File

@@ -442,6 +442,7 @@ install' _ (_, ListResult {..}) = do
, DownloadFailed
, NoUpdate
, TarDirDoesNotExist
, FileAlreadyExistsError
]
run (do

View File

@@ -1478,6 +1478,7 @@ Report bugs at <https://gitlab.haskell.org/haskell/ghcup-hs/issues>|]
, TarDirDoesNotExist
, NextVerNotFound
, NoToolVersionSet
, FileAlreadyExistsError
]
let runInstTool mInstPlatform action' = do