From 7467ae55e90e898dc17d77714e63d3ee46d4d85f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Sep 2018 12:37:45 +0100 Subject: sys-apps/dkms : let's use gentoo-functions, shall we? --- packages/sys-kernel/dkms/dkms-2.3.exheres-0 | 1 + packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 index e835a4f..1204b50 100644 --- a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 +++ b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 @@ -21,6 +21,7 @@ MYOPTIONS="" DEPENDENCIES=" run: app-shells/bash + sys-apps/gentoo-functions suggestion: app-arch/dpkg [[ description = [ Build DKMS-enabled debs ] diff --git a/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch b/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch index 42b7464..6fc55e1 100644 --- a/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch +++ b/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch @@ -26,8 +26,8 @@ diff -Nur a/dkms_autoinstaller b/dkms_autoinstaller - . /lib/lsb/init-functions -elif [ -f /etc/rc.d/init.d/functions ]; then - . /etc/rc.d/init.d/functions -+if [ -f /lib/gentoo/functions.sh ]; then -+ . /lib/gentoo/functions.sh ++if [ -f /usr/libexec/gentoo/functions.sh ]; then ++ . /usr/libexec/gentoo/functions.sh fi -#We only have these functions on debian/ubuntu -- cgit v1.2.3