diff options
author | antialias <antialias@leap.se> | 2013-01-31 16:37:50 -0500 |
---|---|---|
committer | antialias <antialias@leap.se> | 2013-01-31 16:37:50 -0500 |
commit | b376948ccd59aa02022123102eaae359a536e4e6 (patch) | |
tree | 31ed4c1322cedb46231c693ef74814813e6b4736 /pkg/postmkvenv.sh | |
parent | 8d8b1eb2bb6bf9216f03f8e50d9e999e98cb666c (diff) |
fixed error on create pre-existing symlink (1509).
Diffstat (limited to 'pkg/postmkvenv.sh')
-rwxr-xr-x | pkg/postmkvenv.sh | 4 |
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 |