diff options
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/wscript_build.py b/wscript_build.py index 50f8e641ea..301e8819e4 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -717,11 +717,8 @@ def build(ctx): if ctx.dependency_satisfied('cplayer'): - if ctx.dependency_satisfied('zsh-comp'): - ctx.zshcomp(target = "etc/_mpv", source = "TOOLS/zsh.pl") - ctx.install_files( - ctx.env.ZSHDIR, - ['etc/_mpv']) + if ctx.env.ZSHDIR: + ctx.install_as(ctx.env.ZSHDIR + '/_mpv', 'etc/_mpv.zsh') ctx.install_files( ctx.env.DATADIR + '/applications', |