mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
net-misc/can-utils: unconditionally install small files
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -14,9 +14,6 @@ HOMEPAGE="https://github.com/linux-can/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="systemd"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
@@ -29,11 +26,8 @@ src_install() {
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use systemd ; then
|
||||
systemd_dounit "${FILESDIR}/slcan.service"
|
||||
systemd_install_serviced "${FILESDIR}/slcan.service.conf"
|
||||
else
|
||||
newconfd "${FILESDIR}/slcand.confd" slcand
|
||||
newinitd "${FILESDIR}/slcand.initd" slcand
|
||||
fi
|
||||
systemd_dounit "${FILESDIR}/slcan.service"
|
||||
systemd_install_serviced "${FILESDIR}/slcan.service.conf"
|
||||
newconfd "${FILESDIR}/slcand.confd" slcand
|
||||
newinitd "${FILESDIR}/slcand.initd" slcand
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user