From 07f2b34faba9785646647c27a8445912df57fdc6 Mon Sep 17 00:00:00 2001
From: Samruddhi Khandale <skhandale@microsoft.com>
Date: Mon, 6 Jun 2022 09:38:02 -0700
Subject: 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
---
 src/python/install.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/python')

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
 }
-- 
cgit v1.2.3