summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ccd08f837fc..4f65ae3b5bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,8 @@ sha512sums=('552763bb1da248bb4c32a9146d3be504ed8e49e8c13482538e8fb16aaf7a2f46dfc
package() {
install -Dm 755 "$srcdir/kubectl-${pkgver//_/-}" "$pkgdir/usr/bin/kubectl"
# Populate bash and zsh completions
- install -d 755 "$pkgdir/usr/share/bash-completion/completions"
- install -d 755 "$pkgdir/usr/share/zsh/site-functions"
+ install -dm 755 "$pkgdir/usr/share/bash-completion/completions"
+ install -dm 755 "$pkgdir/usr/share/zsh/site-functions"
"$pkgdir/usr/bin/kubectl" completion bash > "$pkgdir/usr/share/bash-completion/completions/kubectl"
"$pkgdir/usr/bin/kubectl" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_kubectl"
}