aboutsummaryrefslogtreecommitdiff
path: root/src/python/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-06 19:38:02 +0300
committerGitHub <noreply@github.com>2022-06-06 19:38:02 +0300
commit07f2b34faba9785646647c27a8445912df57fdc6 (patch)
treeb46ec6dde4ce7b515c4a5cbe6fb280762697938c /src/python/install.sh
parenta87dca40b5763cfcdb0881b0b589a05766ce7e04 (diff)
fix miscellaneous bugs (#41)
* add recursive linking * temp change * fix xdebug * fix rbenv xdebug * fix hugo * remove suffix * php: fix config * fix anaconda and oryx * fix xdebug * fixes php * bug fix: composer * anaconda * nit * fix shellchecker * shellchecker
Diffstat (limited to 'src/python/install.sh')
-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
}