summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 11:24:09 -0500
committerJeff Carr <[email protected]>2025-10-05 11:24:09 -0500
commitc686256e2d4045fab80005528044ff218088b78a (patch)
tree47bbda17322959b240ed6deea8d9d2e7c7daf384
parent2c512f1e03536575910b30c239c88c592083035a (diff)
start using the more standard pathv0.22.154
-rw-r--r--build.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.go b/build.go
index 85e3345..9e41296 100644
--- a/build.go
+++ b/build.go
@@ -194,9 +194,9 @@ func buildPackage(repo *gitpb.Repo) (bool, error) {
}
if readme != "" {
- path := filepath.Join("files/usr/lib/" + filename)
+ path := filepath.Join("files/usr/share/doc/" + filename)
if err := os.MkdirAll(path, os.ModePerm); err != nil {
- return false, errors.New("no files/usr/lib")
+ return false, errors.New("mkdir failed on files/usr/share/doc")
}
if err := repo.RunVerbose([]string{"cp", readme, path}); err != nil {
return false, err