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}"