Don't remove share dir link prematurely

This commit is contained in:
Julian Ospald 2023-11-13 16:00:48 +08:00
parent 47ef380ebd
commit c6aa5c3ed7
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -763,6 +763,7 @@ rmGHCVer ver = do
Dirs {..} <- lift getDirs
when isSetGHC $ do
lift $ hideError doesNotExistErrorType $ rmDirectoryLink (fromGHCupPath baseDir </> "share")