From 860ace56f8967565c7d674b112117b7aac54093c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 13 Aug 2009 14:22:54 +0200 Subject: [PATCH] inst_simple(): add -p flag to cp --- dracut-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions b/dracut-functions index 0af93e23..73bf1fe8 100755 --- a/dracut-functions +++ b/dracut-functions @@ -59,7 +59,7 @@ inst_simple() { [[ -f $target ]] && return 0 mkdir -p "${target%/*}" dinfo "Installing $src" - cp -fL "$src" "$target" + cp -pfL "$src" "$target" } # Same as above, but specialzed to handle dynamic libraries. -- 2.11.4.GIT