diff --git a/kpkg/commands/installcmd.nim b/kpkg/commands/installcmd.nim index 9347d8e0..8a721102 100644 --- a/kpkg/commands/installcmd.nim +++ b/kpkg/commands/installcmd.nim @@ -85,8 +85,8 @@ proc install_pkg*(repo: string, package: string, root: string) = createSymlink(package, root&"/var/cache/kpkg/installed/"&i) - var cmd: tuple[output: string, exitCode: int] - cmd = execCmdEx("tar -hxf "&tarball&" -C "&root) + debug "Executing 'tar -hxf "&tarball&" -C "&root&"'" + let cmd = execCmdEx("tar -hxf "&tarball&" -C "&root) if cmd.exitCode != 0: debug cmd.output removeDir(root&"/var/cache/kpkg/installed/"&package)