diff options
| author | Paul Buetow <paul@buetow.org> | 2022-11-23 22:26:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-11-23 22:26:49 +0200 |
| commit | fa6a1ca85a8d3c0dc9aafe488fe4100389d59ad9 (patch) | |
| tree | f7a6ea5b67d613680edad4949ff40d97c2f9143e /lib/gemfeed.source.sh | |
| parent | 607c1f5f93a482a484136b1630853fdaaef156c5 (diff) | |
bugfix
Diffstat (limited to 'lib/gemfeed.source.sh')
| -rw-r--r-- | lib/gemfeed.source.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gemfeed.source.sh b/lib/gemfeed.source.sh index 6cb9a5a..a0c0b09 100644 --- a/lib/gemfeed.source.sh +++ b/lib/gemfeed.source.sh @@ -3,7 +3,7 @@ gemfeed::get_posts () { local -r gemfeed_dir="$CONTENT_BASE_DIR/gemtext/gemfeed" local -r gmi_pattern='^[0-9]{4}-[0-9]{2}-[0-9]{2}-.*\.gmi$' - ls "$gemfeed_dir" | $GREP -f -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r + ls "$gemfeed_dir" | $GREP -F -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r } # Add the links from gemfeed/index.gmi to the main index site. @@ -61,5 +61,6 @@ GEMFEED mv "$gemfeed_dir/index.gmi.tmp" "$gemfeed_dir/index.gmi" + gemfeed::updatemainindex } |
