projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a2a58af
)
Checking for file existence in initramfs hook (Closes: #595264).
author
Daniel Baumann
<daniel@debian.org>
Thu, 2 Sep 2010 15:54:58 +0000
(17:54 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000
(17:59 +0100)
hooks/live
patch
|
blob
|
history
diff --git
a/hooks/live
b/hooks/live
index
c2292d5
..
19ff26a
100755
(executable)
--- a/
hooks/live
+++ b/
hooks/live
@@
-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