X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/02ccb263caa97381f1eaf9ed305ff57fd7b69734..8c346d337c4b10013d1c81c39e4f3d526e9d3049:/Library/firmware.sh diff --git a/Library/firmware.sh b/Library/firmware.sh index c01c23ec..f7479ba8 100755 --- a/Library/firmware.sh +++ b/Library/firmware.sh @@ -50,8 +50,6 @@ EOF } # }}} -before=$(stat -c '%i-%Y' "${status}") - output=$(mktemp "${data}"/status-tmp.XXXXXX) chmod 644 "${output}" xxxxxx=${output##*/status-tmp.} @@ -145,8 +143,6 @@ rm -f "${data}"/status-tmp.!("${xxxxxx}") } >"${output}" -# XXX: this is a poor replacement for flock -test "${before}" = "$(stat -c '%i-%Y' "${status}")" mv -f "${output}" "${status}" if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then