Bug 174014 - dev-util/stgit-0.12.1: install bash completion file
Bug#: 174014 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: ferdy@gentoo.org Reported By: nicolas@boichat.ch
Component: Ebuilds
URL: 
Summary: dev-util/stgit-0.12.1: install bash completion file
Keywords:  
Status Whiteboard: 
Opened: 2007-04-10 10:15 0000
Description:   Opened: 2007-04-10 10:15 0000
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 From Fernando J. Pereda (RETIRED) 2007-04-10 17:09:56 0000 -------
Will do later today. Thanks.

------- Comment #2 From Fernando J. Pereda (RETIRED) 2007-04-10 18:08:21 0000 -------
InCVS stgit-0.12.1-r1 with a bit better approach.

Thanks !

- ferdy