diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-09 20:40:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-09 20:40:52 +0900 |
| commit | 396ae2ba2adcfd83ef8e12b8ef4e6070972fa461 (patch) | |
| tree | 7f8bbafa7df4bb8a4fe1bb6929dbf51e274ded7b /cmd/dist | |
| parent | 1e85dca9e2ddd01eb6906811c1a3f8c6cc06cf3d (diff) | |
cmd/dist: replace readme with license
The readme document is pretty useless for anything other than the website, so replace it with something more relevant.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/dist')
| -rw-r--r-- | cmd/dist/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dist/main.go b/cmd/dist/main.go index 74821451..8e1c57c1 100644 --- a/cmd/dist/main.go +++ b/cmd/dist/main.go @@ -217,7 +217,7 @@ func main() { mustWriteFile("comp/", nil, os.ModeDir|0755) mustWriteFile("comp/_hakurei", comp, 0644) mustWriteFile("install.sh", []byte(`#!/bin/sh -e -cd "$(dirname -- "$0")" || exit 1 +cd "$(dirname -- "$0")" install -vDm0755 "bin/hakurei" "${DESTDIR}`+prefix+`/bin/hakurei" install -vDm0755 "bin/sharefs" "${DESTDIR}`+prefix+`/bin/sharefs" @@ -230,7 +230,7 @@ fi install -vDm0644 "comp/_hakurei" "${DESTDIR}`+prefix+`/share/zsh/site-functions/_hakurei" `), 0755) - mustWriteFromPath("README.md", "README.md", 0) + mustWriteFromPath("LICENSE", "LICENSE", 0) mustWriteFile("hsurc.default", []byte("1000 0"), 0400) mustWriteFromPath("bin/hsu", filepath.Join(s, "hsu"), 04511) for _, name := range []string{ |
