diff --git a/automation_tools/manifest_placeholder_replacer.sh b/automation_tools/manifest_placeholder_replacer.sh index a6c135dd..ae6d0645 100755 --- a/automation_tools/manifest_placeholder_replacer.sh +++ b/automation_tools/manifest_placeholder_replacer.sh @@ -87,9 +87,6 @@ get_hash() { if [ "$use_cache" == "true" ] && [ -f "$cache_file" ]; then # Try to retrieve hash from cache hash=$(grep "^$url " "$cache_file" | cut -d ' ' -f2) - if [ -n "$hash" ]; then - echo "Cache file exists, using cached hash for $url" - fi fi # If hash is not found in cache, calculate it diff --git a/developer_toolbox/build_retrodeck_locally.sh b/developer_toolbox/build_retrodeck_locally.sh index 6990704b..fb60f06d 100755 --- a/developer_toolbox/build_retrodeck_locally.sh +++ b/developer_toolbox/build_retrodeck_locally.sh @@ -10,7 +10,7 @@ # fi # fi -read -rp "Do you want to use the hashes cache? If you're unsure just say no [Y/n]" use_cache_input +read -rp "Do you want to use the hashes cache? If you're unsure just say no [Y/n] " use_cache_input use_cache_input=${use_cache_input:-Y} if [[ "$use_cache_input" =~ ^[Yy]$ ]]; then export use_cache="true" @@ -19,7 +19,8 @@ else rm -f "placeholders.cache" fi -read -rp "Do you want to clear the build cache?\nKeeping the build cache can speed up the build process, but it might cause issues and should be cleared occasionally [y/N] " clear_cache_input +echo "Do you want to clear the build cache?" +read -rp "Keeping the build cache can speed up the build process, but it might cause issues and should be cleared occasionally [y/N] " clear_cache_input clear_cache_input=${clear_cache_input:-N} if [[ "$clear_cache_input" =~ ^[Yy]$ ]]; then # User chose to clear the build cache