diff --git a/install.sh b/install.sh index e2939fd..51d0222 100644 --- a/install.sh +++ b/install.sh @@ -23,12 +23,12 @@ create_config_json() { echo "$config_content" > ./data/config.json # Check if the file was successfully created - if [ -f "config.json" ]; then - echo "Successfully created 'config.json'." + if [ -f "./data/config.json" ]; then + echo "Successfully created './data/config.json'." echo "Content of config.json:" - cat config.json + cat ./data/config.json else - echo "Error: Failed to create 'config.json'." + echo "Error: Failed to create './data/config.json'." exit 1 # Exit with an error code if file creation fails fi }