diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-09-02 17:54:58 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
| commit | 3e6ed90770401e583bfd7c6dfba5aab48caae56c (patch) | |
| tree | f09fff8195f358eeb11a353034788f94695d0a7b | |
| parent | a2a58af7b4f3ecb272bf107085ab605fb373039d (diff) | |
| download | live-boot-3e6ed90770401e583bfd7c6dfba5aab48caae56c.tar.gz live-boot-3e6ed90770401e583bfd7c6dfba5aab48caae56c.zip | |
Checking for file existence in initramfs hook (Closes: #595264).
| -rwxr-xr-x | hooks/live | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts # klibc dependencies for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* do - if [ ! -e "${DESTDIR}"/"${FILE}" ] + if [ ! -e "${DESTDIR}"/"${FILE}" ] && ls ${FILE} > /dev/null 2>&1 then cp -a "${FILE}" "${DESTDIR}"/"${FILE}" fi |
