summaryrefslogtreecommitdiff
path: root/source4/script/installlib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/installlib.sh')
-rwxr-xr-xsource4/script/installlib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/installlib.sh b/source4/script/installlib.sh
index 962c9562b1..cc9ff0b9ea 100755
--- a/source4/script/installlib.sh
+++ b/source4/script/installlib.sh
@@ -15,7 +15,9 @@ for p in $*; do
mv $LIBDIR/$p2 $LIBDIR/$p2.old
fi
cp $p $LIBDIR/
- ln -sf $p2 $LIBDIR/$lnname
+ if [ $p2 != $lnname ]; then
+ ln -sf $p2 $LIBDIR/$lnname
+ fi
done
cat << EOF