]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mkinitramfs: Fixed installation of a bunch of files when it is pre-existing.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 9 Aug 2009 17:00:32 +0000 (19:00 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 9 Aug 2009 17:00:32 +0000 (19:00 +0200)
src/mkinitramfs/functions

index e92b41fbd804ac499aae3936645b84c62a9d25dc..6aa5024459f2a74964b5f0aa581b989b7ad56c2f 100644 (file)
@@ -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