Information about what symlinks are created is now printed to stdout.

This commit is contained in:
Dominik Picheta 2013-06-21 23:34:33 +01:00
commit 468e11ecd5

View file

@ -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):