diff options
author | 2024-04-02 17:18:02 +0800 | |
---|---|---|
committer | 2024-04-02 17:18:02 +0800 | |
commit | 919a36058771d0666cad79eeec7693b4111a770c (patch) | |
tree | 6b69e9178a1627ed845a2ab9e7e18780dd03b819 | |
parent | [net-dns/q] new ebuild (diff) | |
download | pigfoot-919a36058771d0666cad79eeec7693b4111a770c.tar.gz pigfoot-919a36058771d0666cad79eeec7693b4111a770c.tar.bz2 pigfoot-919a36058771d0666cad79eeec7693b4111a770c.zip |
[net-dns/doggo] refine ebuild
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
-rw-r--r-- | net-dns/doggo/doggo-9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/doggo/doggo-9999.ebuild b/net-dns/doggo/doggo-9999.ebuild index 179acc7..6e7e550 100644 --- a/net-dns/doggo/doggo-9999.ebuild +++ b/net-dns/doggo/doggo-9999.ebuild @@ -56,7 +56,7 @@ src_compile() { src_install() { newbin bin/${PN} doggo - newbashcomp completions/${PN}.bash ${PN} -▎ newfishcomp completions/${PN}.fish ${PN} - newzshcomp completions/${PN}.zsh ${PN} + [[ -r completions/${PN}.bash ]] && newbashcomp completions/${PN}.bash ${PN} + [[ -r completions/${PN}.fish ]] && newfishcomp completions/${PN}.fish ${PN} + [[ -r completions/${PN}.zsh ]] && newzshcomp completions/${PN}.zsh ${PN} } |