From 64790d77adb21db9bc4a7c4e8e50950334529c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Tue, 9 Jan 2024 15:20:07 +0000 Subject: [PATCH] app-shells/zsh-autocomplete:fix line remove on commit a2dac9ade8f4de948819ec2f78b5ba13ad160ea0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- 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}"