summaryrefslogtreecommitdiff
path: root/pkg/postmkvenv.sh
diff options
context:
space:
mode:
authorantialias <antialias@leap.se>2013-01-31 16:37:50 -0500
committerantialias <antialias@leap.se>2013-01-31 16:37:50 -0500
commitb376948ccd59aa02022123102eaae359a536e4e6 (patch)
tree31ed4c1322cedb46231c693ef74814813e6b4736 /pkg/postmkvenv.sh
parent8d8b1eb2bb6bf9216f03f8e50d9e999e98cb666c (diff)
fixed error on create pre-existing symlink (1509).
Diffstat (limited to 'pkg/postmkvenv.sh')
-rwxr-xr-xpkg/postmkvenv.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/postmkvenv.sh b/pkg/postmkvenv.sh
index 593b11da..a503052a 100755
--- a/pkg/postmkvenv.sh
+++ b/pkg/postmkvenv.sh
@@ -34,5 +34,7 @@ fi
for LIB in ${LIBS[@]}
do
- ln -s $LIB_SYSTEM_PATH/$LIB $LIB_VIRTUALENV_PATH/$LIB
+ if [[ ! -e $LIB_VIRTUALENV_PATH/$LIB ]]; then
+ ln -s $LIB_SYSTEM_PATH/$LIB $LIB_VIRTUALENV_PATH/$LIB
+ fi
done