network/ddgr: Fix zsh completion path.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2018-01-01 10:22:37 +01:00 committed by Willy Sudiarto Raharjo
parent 1eccf1127a
commit d1e55d2b91

View file

@ -2,7 +2,7 @@
# Slackware build script for ddgr
# Copyright 2017 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2017-2018 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=ddgr
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -82,7 +82,7 @@ install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
$PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
# Install zsh completion file
mkdir -p $PKG/etc/bash_completion.d
mkdir -p $PKG/usr/share/site-functions
install -D -m0744 auto-completion/zsh/_${PRGNAM} \
$PKG/usr/share/site-functions/_${PRGNAM}