summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch')
-rw-r--r--packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch4
1 files changed, 2 insertions, 2 deletions
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