summaryrefslogtreecommitdiff
path: root/packages/util-linux/util-linux.inc
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-09-15 16:56:49 +0000
committerRod Whitby <rod@whitby.id.au>2006-09-15 16:56:49 +0000
commit02ef6efbbecfa1ded658f43cc347db373b1c9c95 (patch)
tree40078bd744d5b6a705e2a5904c3960b7623717c8 /packages/util-linux/util-linux.inc
parentb2dbeda18d0fa29db619367015edd3eb5aa07795 (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.inc2
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