mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 17:53:09 -05:00
Remove obsolete vertx conversion scenarios and hacks.
This commit is contained in:
@@ -87,12 +87,6 @@ for (( i=0; i <= ${#GVM_CANDIDATES}; i++ )); do
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -d "${GVM_DIR}/vert.x" && ! -d "${GVM_DIR}/vertx" ]]; then
|
||||
mv "${GVM_DIR}/vert.x" "${GVM_DIR}/vertx"
|
||||
else
|
||||
mkdir -p "${GVM_DIR}/vertx"
|
||||
fi
|
||||
|
||||
if [[ -f "${GVM_DIR}/ext/config" ]]; then
|
||||
gvm_echo_debug "Removing config from ext folder..."
|
||||
rm -v "${GVM_DIR}/ext/config"
|
||||
|
||||
@@ -31,16 +31,3 @@ Feature: Self Update
|
||||
When I enter "gvm selfupdate"
|
||||
Then the configuration file contains "gvm_auto_answer=true"
|
||||
And the configuration file contains "gvm_suggestive_selfupdate=true"
|
||||
|
||||
Scenario: Rename the vertx Candidate on Upgrade
|
||||
Given the candidate "vert.x" version "1.3.0.final" is already installed and default
|
||||
And the candidate "vertx" does not exist
|
||||
When I enter "gvm selfupdate"
|
||||
Then the candidate "vertx" version "1.3.0.final" is installed
|
||||
And the candidate "vert.x" version "1.3.0.final" is not installed
|
||||
|
||||
Scenario: Ignore an already converted vertx Candidate on Upgrade
|
||||
Given the candidate "vertx" version "1.3.0.final" is already installed and default
|
||||
When I enter "gvm selfupdate"
|
||||
Then the candidate "vertx" version "1.3.0.final" is installed
|
||||
And the candidate "vert.x" version "1.3.0.final" is not installed
|
||||
|
||||
Reference in New Issue
Block a user