From 53956913c2f7e09fb5739158946c85dcd3f26a31 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 24 May 2010 09:52:22 -0700 Subject: [PATCH] compat: create the udev directories for compat_firmware file In case the directories are non existant create them. Reported-by: Jaroslav Fojtik Signed-off-by: Luis R. Rodriguez --- scripts/compat_firmware_install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/compat_firmware_install b/scripts/compat_firmware_install index d92961a62f05..33e4fde84606 100755 --- a/scripts/compat_firmware_install +++ b/scripts/compat_firmware_install @@ -8,10 +8,12 @@ fi case $LSB_RED_ID in "Ubuntu") + mkdir -p /lib/udev/ /lib/udev/rules.d/ cp udev/ubuntu/compat_firmware.sh /lib/udev/ cp udev/ubuntu/50-compat_firmware.rules /lib/udev/rules.d/ ;; *) + mkdir -p /lib/udev/ /lib/udev/rules.d/ cp udev/compat_firmware.sh /lib/udev/ cp udev/50-compat_firmware.rules /lib/udev/rules.d/ ;; -- 2.30.2