parent
d9ff48b55b
commit
92f49d56dd
4
abra
4
abra
@ -508,8 +508,8 @@ require_apps_json() {
|
||||
|
||||
if [ -f "$ABRA_APPS_JSON" ]; then
|
||||
modified=$(curl --silent --head "$ABRA_APPS_URL" | \
|
||||
awk '/^Last-Modified/{print $0}' | \
|
||||
sed 's/^Last-Modified: //')
|
||||
awk '/^last-modified/{print tolower($0)}' | \
|
||||
sed 's/^last-modified: //I')
|
||||
remote_ctime=$(date --date="$modified" +%s)
|
||||
local_ctime=$(stat -c %Z "$ABRA_APPS_JSON")
|
||||
|
||||
|
Reference in New Issue
Block a user