scripts: fpm: install zsh competion to install / "share"

Currently we create /usr/share/... which is not allowed by macos:

> the package is trying to install content to the system volume
This commit is contained in:
Ruslan Kuprieiev
2021-03-25 02:21:11 +02:00
committed by GitHub
parent 2e76dabbaa
commit 8abffbf68b
+1 -1
View File
@@ -69,7 +69,7 @@ bash_completion = check_output(
)
(bash_dir / "dvc").write_text(bash_completion)
zsh_dir = build / "usr" / "share" / "zsh" / "site-funtions"
zsh_dir = install / "share" / "zsh" / "site-funtions"
zsh_dir.mkdir(parents=True)
zsh_completion = check_output(
[lib / "dvc" / "dvc", "completion", "-s", "zsh"], text=True