Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174014

Summary: dev-util/stgit-0.12.1: install bash completion file
Product: Gentoo Linux Reporter: Nicolas Boichat <nicolas>
Component: New packagesAssignee: Fernando J. Pereda (RETIRED) <ferdy>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicolas Boichat 2007-04-10 10:15:15 UTC
stgit-0.12.1.ebuild does not install the bash completion file provided in the package. This patch fixes this:

--- /usr/portage/dev-util/stgit/stgit-0.12.1.ebuild	2007-04-04 19:22:39.000000000 +0800
+++ stgit-0.12.1-r1.ebuild	2007-04-10 18:06:00.000000000 +0800
@@ -22,4 +22,6 @@
 	dodir /usr/share/doc/${PF}
 	mv ${D}/usr/share/${PN}/examples ${D}/usr/share/doc/${PF}
 	rmdir ${D}/usr/share/doc/${PN}
+	dodir /usr/share/bash-completion
+	cp contrib/stgit-completion.bash ${D}/usr/share/bash-completion/stgit
 }
Comment 1 Fernando J. Pereda (RETIRED) gentoo-dev 2007-04-10 17:09:56 UTC
Will do later today. Thanks.
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2007-04-10 18:08:21 UTC
InCVS stgit-0.12.1-r1 with a bit better approach.

Thanks !

- ferdy