replace removeLink with removeFile

same reasoning as in commit 5cc8d9d03b
This commit is contained in:
Joey Hess 2025-02-11 13:41:26 -04:00
parent 90eb1e2da6
commit f8bb9a8734
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
9 changed files with 16 additions and 21 deletions

View file

@ -246,7 +246,7 @@ fixLink key file = do
| want /= fromInternalGitPath have = do
showNote "fixing link"
createWorkTreeDirectory (parentDir file)
liftIO $ R.removeLink (fromOsPath file)
liftIO $ removeFile file
addAnnexLink (fromOsPath want) file
| otherwise = noop