From: Michael Tremer Date: Sun, 9 Aug 2009 17:00:32 +0000 (+0200) Subject: mkinitramfs: Fixed installation of a bunch of files when it is pre-existing. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a86bcb1d19addb8d83dcac509ea969ec856920ca;p=ipfire-3.x.git mkinitramfs: Fixed installation of a bunch of files when it is pre-existing. --- diff --git a/src/mkinitramfs/functions b/src/mkinitramfs/functions index e92b41fbd..6aa502445 100644 --- a/src/mkinitramfs/functions +++ b/src/mkinitramfs/functions @@ -182,7 +182,7 @@ function install() { # Destination file dest="$TMPDIR$file" - [ -e "$dest" ] && return 0 + [ -e "$dest" ] && continue mkdir -p "$(dirname $dest)" 2>/dev/null