Skip to content

Commit

Permalink
Simplyfing and correcting udev inclusion in initramfs hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Oct 18, 2009
1 parent 3a84211 commit a77cf40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hooks/live
Expand Up @@ -61,9 +61,10 @@ done
# udev dependencies (squeeze and newer)
for FILE in /lib/udev/*_id
do
if [ ! -e "${DESTDIR}"/"${FILE}" ]
if [ ! -e "${DESTDIR}/${FILE}" ]
then
copy_exec "${FILE}" /lib/udev/
mkdir -p "${DESTDIR}/lib/udev"
copy_exec "${FILE}" /lib/udev
fi
done

Expand Down

0 comments on commit a77cf40

Please sign in to comment.