X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=e653aef5a3c7c374e0fa6ee3ee1dfe48dde519a9;hb=81345700ec2e03231cc4a6a57b258187152afa34;hp=3552f3a950121601385ed954304318381a5d7770;hpb=949eb8c66baddef83378dd677c10b02c3f23ca36;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 3552f3a..e653aef 100755 --- a/hooks/live +++ b/hooks/live @@ -49,7 +49,10 @@ cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts # klibc dependencies for hidden_klibc_dep_library in libacl libblkid libuuid libdevmapper libattr do - cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib + if ls /lib/${hidden_klibc_dep_library}.so.* > /dev/null 2>&1 + then + cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib + fi done # Handling other stuff