mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user