]> git.saurik.com Git - cydia.git/commitdiff
Users do not actually have stat (which is stupid). v1.1.28%b12 v1.1.28%b13
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Feb 2017 15:51:11 +0000 (07:51 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Feb 2017 15:51:11 +0000 (07:51 -0800)
Library/firmware.sh

index c01c23ec9d018372fe8854ce913d6303f4baf1f5..f7479ba8fcf4f7273d96bf227d4f24e12bffb26f 100755 (executable)
@@ -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