Fixes symlink installation issue
This commit is contained in:
parent
83b1292d23
commit
2de92a8230
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ proc installFromDir(dir: string, latest: bool, options: Options,
|
|||
when defined(unix):
|
||||
# TODO: Verify that we are removing an old bin of this package, not
|
||||
# some other package's binary!
|
||||
if existsFile(binDir / bin): removeFile(binDir / cleanBin)
|
||||
if existsFile(binDir / cleanBin): removeFile(binDir / cleanBin)
|
||||
echo("Creating symlink: ", pkgDestDir / bin, " -> ", binDir / cleanBin)
|
||||
createSymlink(pkgDestDir / bin, binDir / cleanBin)
|
||||
elif defined(windows):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue