]> git.openpandora.org Git - openembedded.git/commitdiff
util-linux: fixed the checklink function - it was not removing the correct file befor...
authorRod Whitby <rod@whitby.id.au>
Fri, 15 Sep 2006 16:56:49 +0000 (16:56 +0000)
committerRod Whitby <rod@whitby.id.au>
Fri, 15 Sep 2006 16:56:49 +0000 (16:56 +0000)
packages/util-linux/util-linux.inc

index 99207213bd9d7753a49387cf1d03ee6c9e895572..5d3c6b6f43464bcd0a5da9c707a9e59e8d2a3e0c 100644 (file)
@@ -51,7 +51,7 @@ checklink() {
                value="$(readlink "$link")"
                if test "$value" = "$targ"
                then
-                       rm "$link"
+                       rm "$link$ext"
                        ln -s "$targ"."${PN}" "$link$ext"
                        return 0
                else