aboutsummaryrefslogtreecommitdiffsponsor
diff options
context:
space:
mode:
-rw-r--r--installpkg.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/installpkg.go b/installpkg.go
index a6e327e..438228b 100644
--- a/installpkg.go
+++ b/installpkg.go
@@ -190,14 +190,14 @@ func initializeDirectories(flags *InstallPkgFlags) error {
"setup",
}
for _, f := range dirs {
- fp := filepath.Join(flags.Root, LogDir, f)
+ fp := filepath.Join(flags.Root, LogDir, "..", f)
isDir, _ := IsDir(fp)
isSymlink, _ := IsSymlink(fp)
if isDir || isSymlink {
continue
}
- err := os.Symlink(filepath.Join("..", "..", "lib", "pkgtools", f), fp)
+ err := os.Symlink(filepath.Join("..", "lib", "pkgtools", f), fp)
if err != nil {
return err
}