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:53:27 +0100 |
| commit | cc8e921a9aee8e61805f40ddbc77b349e750e553 (patch) | |
| tree | b465bf7ac4aa13bf25863f742f021a58d114975b | |
| parent | ee6f5eef0b8ca53543b33d63bf41a278093de614 (diff) | |
| download | live-boot-cc8e921a9aee8e61805f40ddbc77b349e750e553.tar.gz live-boot-cc8e921a9aee8e61805f40ddbc77b349e750e553.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 |
