summaryrefslogtreecommitdiff
path: root/net-dialup/sterm/files/0001-Set-correct-install-paths-for-gentoo-for-zsh-complet.patch
blob: 25d561948a4713c293d1b80413b6d8e0b1f5a96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From f090c10eeca384cff9242e73839bea95247cda3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Fri, 29 Dec 2017 00:33:10 +0100
Subject: [PATCH] Set correct install paths for gentoo for zsh completions

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f7d0b4d..53c4cb4 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,6 @@ endif
 ifneq ($(NO_COMP),1)
 	$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions/
 	$(INSTALL) -m 644 completion.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/sterm
-	$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/zsh/functions/Completion/Unix/
-	$(INSTALL) -m 644 completion.zsh $(DESTDIR)$(PREFIX)/share/zsh/functions/Completion/Unix/_sterm
+	$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/zsh/site-functions
+	$(INSTALL) -m 644 completion.zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_sterm
 endif
-- 
2.13.6