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

This reverts commit 47a79a0475.

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-07-15 14:09:22 +02:00
parent 47a79a0475
commit cfd1907cda

View File

@@ -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() {