commit:     450bd4f6398cd138214710c89029aace7f7fb3d3
Author:     Nils Freydank <nils.freydank <AT> posteo <DOT> de>
AuthorDate: Sun Aug  9 11:03:04 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 22:10:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450bd4f6

dev-vcs/git-lfs: Add a note about manual post install step

It's necessary to call 'git lfs install' once for each user running
git-lfs, so add a note on first installation.

Reported-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=733372
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-vcs/git-lfs/git-lfs-2.11.0.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-vcs/git-lfs/git-lfs-2.11.0.ebuild 
b/dev-vcs/git-lfs/git-lfs-2.11.0.ebuild
index 3bbf8d4e300..6fdbdcf910e 100644
--- a/dev-vcs/git-lfs/git-lfs-2.11.0.ebuild
+++ b/dev-vcs/git-lfs/git-lfs-2.11.0.ebuild
@@ -52,3 +52,11 @@ src_test() {
        echo "$@"
        "$@" || die
 }
+
+pkg_postinst () {
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               elog ""
+               elog "Run \'git lfs install\' once for each user account 
manually."
+               elog "For more details see 
https://bugs.gentoo.org/show_bug.cgi?id=733372.";
+       fi
+}

Reply via email to