Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
hooks/fsck | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/hooks/fsck b/hooks/fsck
index 8570705..0cebf94 100755
--- a/hooks/fsck
+++ b/hooks/fsck
@@ -117,12 +117,7 @@ for type in $fsck_types; do
continue
fi
- prog="$(command -v fsck.${type})"
- if [ -h "$prog" ]; then
- link=$(readlink -f "$prog")
- copy_exec "$link"
- ln -s "$link" "${DESTDIR}/$prog"
- elif [ -x "$prog" ] ; then
+ if prog="$(command -v fsck.${type})"; then
copy_exec "$prog"
else
echo "Warning: /sbin/fsck.${type} doesn't exist, can't install to initramfs, ignoring."
Attachment:
signature.asc
Description: Digital signature