if my view, the script was unable to copy the user platformio_override.ini to Tasmota/platformio_override.ini because it was no regular file. changing the test arguments helped (only check if file exists).
changed "test -f" to "test -e" to only check if it exists (not if regular file)
if my view, the script was unable to copy the user platformio_override.ini to Tasmota/platformio_override.ini because it was no regular file. changing the test arguments helped (only check if file exists). changed "test -f" to "test -e" to only check if it exists (not if regular file)