Skip to content

Commit 87e259f

Browse files
Cleanup
Cleanup
1 parent f26ba29 commit 87e259f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

MerlinAU.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11122,9 +11122,8 @@ _Gnuton_Check_Webs_Update_Script_()
1112211122
return 1 #NOT available so do nothing#
1112311123
fi
1112411124

11125-
# Only (re)bind if remote is newer OR files differ #
11126-
if [ "$remoteVerstag" -gt "$localVerstag" ] || \
11127-
! diff "$FW_UpdateCheckScript" "$fixedWebsUpdateFilePath" >/dev/null 2>&1
11125+
# Only (re)bind if remote is newer OR the currently bound file is missing the version tag #
11126+
if [ "$remoteVerstag" -gt "$localVerstag" ] || [ "$localVerstag" -eq 0 ]
1112811127
then
1112911128
umount "$FW_UpdateCheckScript" 2>/dev/null
1113011129
mount -o bind "$fixedWebsUpdateFilePath" "$FW_UpdateCheckScript"

0 commit comments

Comments
 (0)