mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
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:
@@ -293,13 +293,11 @@ src_install() {
|
|||||||
dobin ollama
|
dobin ollama
|
||||||
|
|
||||||
cmake_src_install
|
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() {
|
pkg_preinst() {
|
||||||
|
|||||||
Reference in New Issue
Block a user