mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Fix undefined "==" behavior in POSIX sh
Thanks, ShellCheck.
This commit is contained in:
parent
45c046f4c6
commit
e8ab433b22
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ fetch_webmentions() {
|
||||||
# fetch webmentions if we don't have a fresh copy already.
|
# fetch webmentions if we don't have a fresh copy already.
|
||||||
|
|
||||||
if [ -f "$webmentions_file" ] \
|
if [ -f "$webmentions_file" ] \
|
||||||
&& [ "$(find "$webmentions_file" -mmin +90)" == "" ]; then
|
&& [ "$(find "$webmentions_file" -mmin +90)" = "" ]; then
|
||||||
echo 'Using cached webmentions'
|
echo 'Using cached webmentions'
|
||||||
else
|
else
|
||||||
echo 'Fetching webmentions'
|
echo 'Fetching webmentions'
|
||||||
|
|
Loading…
Reference in a new issue