generated from general-packages/pika-pkg-template
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
From 8c502778eb2277b2f16b215f0820545909bf1833 Mon Sep 17 00:00:00 2001
|
||
|
From: Simone Caronni <negativo17@gmail.com>
|
||
|
Date: Sat, 5 Oct 2024 17:06:59 +0200
|
||
|
Subject: [PATCH 1/2] Remove last remnants of log_action_msg from
|
||
|
dkms_autoinstaller.in
|
||
|
|
||
|
---
|
||
|
dkms_autoinstaller.in | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/dkms_autoinstaller.in b/dkms_autoinstaller.in
|
||
|
index 31c382e..358e3d1 100755
|
||
|
--- a/dkms_autoinstaller.in
|
||
|
+++ b/dkms_autoinstaller.in
|
||
|
@@ -59,9 +59,9 @@ case "$1" in
|
||
|
kernel=$(uname -r)
|
||
|
fi
|
||
|
if [ -f /etc/dkms/no-autoinstall ]; then
|
||
|
- log_action_msg "Automatic installation of modules has been disabled."
|
||
|
+ echo "Automatic installation of modules has been disabled."
|
||
|
elif ! _check_kernel_dir $kernel; then
|
||
|
- log_action_msg "Automatic installation of modules for kernel $kernel was skipped since the kernel headers for this kernel do not seem to be installed."
|
||
|
+ echo "Automatic installation of modules for kernel $kernel was skipped since the kernel headers for this kernel do not seem to be installed."
|
||
|
else
|
||
|
dkms autoinstall --kernelver $kernel
|
||
|
res=$?
|
||
|
--
|
||
|
2.39.5
|
||
|
|