From 450bd4f6398cd138214710c89029aace7f7fb3d3 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 9 Aug 2020 13:03:04 +0200 Subject: 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 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 Signed-off-by: Thomas Deutschmann --- dev-vcs/git-lfs/git-lfs-2.11.0.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dev-vcs') 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 3bbf8d4e3001..6fdbdcf910e1 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 +} -- cgit v1.2.3-65-gdbad