diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-09-15 16:56:49 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2006-09-15 16:56:49 +0000 |
commit | 02ef6efbbecfa1ded658f43cc347db373b1c9c95 (patch) | |
tree | 40078bd744d5b6a705e2a5904c3960b7623717c8 /packages/util-linux/util-linux.inc | |
parent | b2dbeda18d0fa29db619367015edd3eb5aa07795 (diff) |
util-linux: fixed the checklink function - it was not removing the correct file before reinstating a symbolic link
Diffstat (limited to 'packages/util-linux/util-linux.inc')
-rw-r--r-- | packages/util-linux/util-linux.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc index 99207213bd..5d3c6b6f43 100644 --- a/packages/util-linux/util-linux.inc +++ b/packages/util-linux/util-linux.inc @@ -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 |