#!/bin/bash

# Define directories to potentially delete
DATA_DIR="${TRIM_APPDEST}/docker/data"

if [ "$uninstall_delete_data" == "true" ]; then
    echo "Deleting data directory: $DATA_DIR"
    rm -rf "$DATA_DIR"
    
    # We generally do NOT delete music/PC/doc directories as they might contain user data 
    # that is hard to replace, even if the user selected "delete data". 
    # "Delete data" usually implies application config/state.
fi

exit 0
