commit:     cfd1907cda8a26de3ab8be875c239efcb6afc708
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jul 15 12:09:22 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 15 12:10:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfd1907c

Revert "sci-ml/ollama:change src_install for non-systemd"

This reverts commit 47a79a04751aa2871e19287c60827f24adbe01f4.

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sci-ml/ollama/ollama-0.9.3.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sci-ml/ollama/ollama-0.9.3.ebuild 
b/sci-ml/ollama/ollama-0.9.3.ebuild
index 88571793fe..0a02a80575 100644
--- a/sci-ml/ollama/ollama-0.9.3.ebuild
+++ b/sci-ml/ollama/ollama-0.9.3.ebuild
@@ -293,13 +293,11 @@ src_install() {
        dobin ollama
 
        cmake_src_install
-       if use systemd; then
-               systemd_dounit "${FILESDIR}/ollama.service"
-       else
-               newinitd "${FILESDIR}/ollama.init" "${PN}"
-               newconfd "${FILESDIR}/ollama.confd" "${PN}"
-       fi
 
+       newinitd "${FILESDIR}/ollama.init" "${PN}"
+       newconfd "${FILESDIR}/ollama.confd" "${PN}"
+
+       systemd_dounit "${FILESDIR}/ollama.service"
 }
 
 pkg_preinst() {

Reply via email to