Skip to content
Snippets Groups Projects
Verified Commit 128a1ad0 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX: fix installer

parent 45c38dd5
No related branches found
No related tags found
1 merge request!9FIX: fix installer
Pipeline #55839 passed
...@@ -5,17 +5,16 @@ dir_name="temp_dir" ...@@ -5,17 +5,16 @@ dir_name="temp_dir"
default_api_url="https://gitlab.indiscale.com/fdo/fdo-manager-service/-/raw/main/api/src/main/resources/api.yaml" default_api_url="https://gitlab.indiscale.com/fdo/fdo-manager-service/-/raw/main/api/src/main/resources/api.yaml"
# Check openapi-python-client and install if necessary # Check openapi-python-client and install if necessary
if [ "$(which openapi-python-client)" == "" ] if [ -z "$(which openapi-python-client)" ]; then
then
echo 'openapi-python-client not found, installing' echo 'openapi-python-client not found, installing'
pip install openapi-python-client pip install openapi-python-client
fi fi
# Create temporary folder # Create temporary folder
if [[ -d "$dir_name" ]] if [ -d "$dir_name" ]
then then
echo 'Temporary folder already exists, aborting.' echo 'Temporary folder already exists, aborting.'
exit exit 0
else else
echo 'creating temporary folder' echo 'creating temporary folder'
mkdir $dir_name mkdir $dir_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment