commit:     64790d77adb21db9bc4a7c4e8e50950334529c0b
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Jan  9 15:20:07 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 18:10:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64790d77

app-shells/zsh-autocomplete:fix line remove on commit 
a2dac9ade8f4de948819ec2f78b5ba13ad160ea0

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild | 2 ++
 app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild 
b/app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild
index 34b6f15a77..5ceec9acad 100644
--- a/app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild
+++ b/app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild
@@ -27,6 +27,8 @@ at the end of your ~/.zshrc"
 
 src_install() {
        # Move repo/tarball folder to zsh "plugin folder"
+       # Remove .git in 9999 (update using portage)
+       [[ ${PV} == 9999 ]] && rm -r "${S}/.git"
        mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
        mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"
 

diff --git a/app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild 
b/app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild
index 42a4d55042..5ceec9acad 100644
--- a/app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild
+++ b/app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild
@@ -28,7 +28,7 @@ at the end of your ~/.zshrc"
 src_install() {
        # Move repo/tarball folder to zsh "plugin folder"
        # Remove .git in 9999 (update using portage)
-       [[ ${PV} == 9999 ]] && rm -r "${S}/.git" ||die
+       [[ ${PV} == 9999 ]] && rm -r "${S}/.git"
        mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
        mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"
 

Reply via email to