From 957fec979b25550eea4dbf5cc4036f65ec7905c7 Mon Sep 17 00:00:00 2001 From: Zack T Date: Thu, 18 Feb 2021 23:52:22 -0700 Subject: [PATCH] v1.1.0 = Removing previous versions Updated to remove previous versions. --- Software/install_Cytoscape.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Software/install_Cytoscape.sh b/Software/install_Cytoscape.sh index 17b0a7c..6369563 100644 --- a/Software/install_Cytoscape.sh +++ b/Software/install_Cytoscape.sh @@ -3,7 +3,7 @@ ################################################################################################### # Script Name: install_Cytoscape.sh # By: Zack Thompson / Created: 9/1/2020 -# Version: 1.0.0 / Updated: 9/1/2020 / By: ZT +# Version: 1.1.0 / Updated: 2/17/2021 / By: ZT # # Description: This script installs Cytoscape silently. # @@ -17,6 +17,10 @@ if [[ $3 != "/" ]]; then exit 1 fi +# Remove previous versions +echo "Deleting previous versions of Cytoscape (if present)..." +/usr/bin/find "/Applications" -name "Cytoscape*" -type d -maxdepth 1 -exec rm -rfv {} \; + # Set working directory pkgDir=$(/usr/bin/dirname "${0}")