parent
97c67e64a4
commit
69efef5f4b
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,6 @@ proc installFromDir(dir: string, requestedVer: VersionRange, options: Options,
|
|||
let dest = changeRoot(pkgInfo.myPath.splitFile.dir, pkgDestDir,
|
||||
pkgInfo.myPath)
|
||||
filesInstalled.incl copyFileD(pkgInfo.myPath, dest)
|
||||
pkgInfo.myPath = dest
|
||||
|
||||
var binariesInstalled = initSet[string]()
|
||||
if pkgInfo.bin.len > 0:
|
||||
|
|
@ -523,6 +522,7 @@ proc installFromDir(dir: string, requestedVer: VersionRange, options: Options,
|
|||
result.paths.add pkgDestDir
|
||||
result.pkg = pkgInfo
|
||||
result.pkg.isInstalled = true
|
||||
result.pkg.myPath = dest
|
||||
|
||||
display("Success:", pkgInfo.name & " installed successfully.",
|
||||
Success, HighPriority)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue