We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19fa09 commit 2574dfbCopy full SHA for 2574dfb
update-ota.sh
@@ -777,22 +777,6 @@ if [ $? -ne 0 ]; then
777
exit 1
778
fi
779
780
-# Set proper ownership and permissions for JSON file
781
-if ! chmod 664 "$WEB_DIR/$(basename "$PATCHED_OTA")"; then
782
- log "ERROR" "Failed to set permissions for patched OTA file"
783
- exit 1
784
-fi
785
-
786
-if ! chmod 664 "$WEB_DIR/$(basename "$PATCHED_OTA").csig"; then
787
- log "ERROR" "Failed to set permissions for signature file"
788
789
790
791
-if ! chmod 664 "$WEB_DIR/$DEVICE.json"; then
792
- log "ERROR" "Failed to set permissions for JSON file"
793
794
795
796
# Function to clean up old builds from web directory
797
cleanup_web_builds() {
798
local web_dir="$1"
0 commit comments