X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=d78da1e04c91675a51245ee7b9236eaa9344d119;hb=0eeaf7a518d994987612779491282ea3c632810c;hp=b286f6ea5470260de81a9ab6390ac512fc15f09b;hpb=d175288a258f6cd2e54e37088afa96f1313de2e7;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index b286f6e..d78da1e 100755 --- a/hooks/live +++ b/hooks/live @@ -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