aboutsummaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rwxr-xr-xsrc/python/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/install.sh b/src/python/install.sh
index ed273c0..a3516da 100755
--- a/src/python/install.sh
+++ b/src/python/install.sh
@@ -211,13 +211,13 @@ check_packages() {
add_symlink() {
if [[ ! -d "${CURRENT_PATH}" ]]; then
- ln -s "${INSTALL_PATH}" "${CURRENT_PATH}"
+ ln -s -r "${INSTALL_PATH}" "${CURRENT_PATH}"
fi
if [ "${OVERRIDE_DEFAULT_VERSION}" = "true" ]; then
if [[ $(ls -l ${CURRENT_PATH}) != *"-> ${INSTALL_PATH}"* ]] ; then
rm "${CURRENT_PATH}"
- ln -s "${INSTALL_PATH}" "${CURRENT_PATH}"
+ ln -s -r "${INSTALL_PATH}" "${CURRENT_PATH}"
fi
fi
}