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