Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 524196 Details for
Bug 650726
net-misc/rclone: Install bash/zsh completion scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for ebuilds
rclone_bashcomp.patch (text/plain), 1.32 KB, created by
Florian Gamböck
on 2018-03-17 15:20:34 UTC
(
hide
)
Description:
Proposed patch for ebuilds
Filename:
MIME Type:
Creator:
Florian Gamböck
Created:
2018-03-17 15:20:34 UTC
Size:
1.32 KB
patch
obsolete
>--- a/rclone-1.39.ebuild >+++ b/rclone-1.39.ebuild >@@ -3,7 +3,7 @@ > > EAPI=6 > >-inherit golang-build >+inherit golang-build bash-completion-r1 > > EGO_PN="github.com/ncw/${PN}" > >@@ -22,8 +22,19 @@ HOMEPAGE="https://rclone.org/" > LICENSE="MIT" > SLOT="0" > >+IUSE="zsh-completion" >+ > src_install() { > dobin ${PN} > doman src/${EGO_PN}/${PN}.1 > dodoc src/${EGO_PN}/README.md >+ >+ ./rclone genautocomplete bash ${PN}.bash >+ newbashcomp ${PN}.bash ${PN} >+ >+ if use zsh-completion; then >+ ./rclone genautocomplete zsh ${PN}.zsh >+ insinto /usr/share/zsh/site-functions >+ newins ${PN}.zsh _${PN} >+ fi > } >--- a/rclone-9999.ebuild >+++ b/rclone-9999.ebuild >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > > EAPI=6 >-inherit golang-build >+inherit golang-build bash-completion-r1 > EGO_PN="github.com/ncw/${PN}" > > if [[ ${PV} == *9999* ]]; then >@@ -19,7 +19,7 @@ HOMEPAGE="https://rclone.org/" > > LICENSE="MIT" > SLOT="0" >-IUSE="" >+IUSE="zsh-completion" > > DEPEND="" > RDEPEND="${DEPEND}" >@@ -28,4 +28,13 @@ src_install() { > dobin ${PN} > doman src/${EGO_PN}/${PN}.1 > dodoc src/${EGO_PN}/README.md >+ >+ ./rclone genautocomplete bash ${PN}.bash >+ newbashcomp ${PN}.bash ${PN} >+ >+ if use zsh-completion; then >+ ./rclone genautocomplete zsh ${PN}.zsh >+ insinto /usr/share/zsh/site-functions >+ newins ${PN}.zsh _${PN} >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 650726
: 524196