summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Lundberg2019-05-27 00:53:43 +0200
committerEmil Lundberg2019-05-27 00:53:43 +0200
commit801b19284227471a2e37c5124651ca0b9b4588eb (patch)
tree6884b6bd2ac912ae84f6993d2caf10248c7b7abc
parent62d91a1218cb8dd66dae12be78ab5daf1e7e84d8 (diff)
downloadaur-801b19284227471a2e37c5124651ca0b9b4588eb.tar.gz
Don't install completion scripts as executable
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d994edd40b1..7335109cede 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname="gws2-git"
_reponame="gws2"
_binname="gws"
pkgver=0.1.0.r3.ga26c963
-pkgrel=3
+pkgrel=4
pkgdesc="Colorful KISS helper for git workspaces"
url="https://github.com/emlun/${_reponame}"
license=('GPL3')
@@ -45,7 +45,7 @@ check() {
package() {
install -D -m 755 "${srcdir}/${_reponame}/target/release/${_binname}" "${pkgdir}/usr/bin/${_binname}"
- install -D -m 755 "${srcdir}/completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${_binname}"
- install -D -m 755 "${srcdir}/completions/fish" "${pkgdir}/usr/share/fish/completions/${_binname}.fish"
- install -D -m 755 "${srcdir}/completions/zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_binname}"
+ install -D -m 644 "${srcdir}/completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${_binname}"
+ install -D -m 644 "${srcdir}/completions/fish" "${pkgdir}/usr/share/fish/completions/${_binname}.fish"
+ install -D -m 644 "${srcdir}/completions/zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_binname}"
}