Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174014 - dev-util/stgit-0.12.1: install bash completion file
Summary: dev-util/stgit-0.12.1: install bash completion file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 10:15 UTC by Nicolas Boichat
Modified: 2007-04-10 18:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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