Information about what symlinks are created is now printed to stdout.
This commit is contained in:
parent
266ef672ad
commit
468e11ecd5
1 changed files with 1 additions and 0 deletions
|
|
@ -218,6 +218,7 @@ proc installFromDir(dir: string, latest: bool): string =
|
|||
for bin in pkgInfo.bin:
|
||||
let currentPerms = getFilePermissions(pkgDestDir / bin)
|
||||
setFilePermissions(pkgDestDir / bin, currentPerms + {fpUserExec})
|
||||
echo("Creating symlink: ", pkgDestDir / bin, " -> ", binDir / bin)
|
||||
when defined(unix):
|
||||
doCmd("ln -s \"" & pkgDestDir / bin & "\" " & binDir / bin)
|
||||
elif defined(windows):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue