]> gitweb.fluxo.info Git - wrappers.git/commitdiff
Fix: news: skip sample.opml
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 30 Dec 2025 23:39:29 +0000 (20:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 30 Dec 2025 23:39:29 +0000 (20:39 -0300)
news

diff --git a/news b/news
index 28367e6420f6e97cd111ac86e5d3f4e5b8198e22..67692401ed3238820568e9556d0e008a06fb2a24 100755 (executable)
--- a/news
+++ b/news
@@ -23,6 +23,14 @@ fi
 if [ -d "$HOME/apps/dotfiles/modules/feeds" ]; then
   echo -n "opml-url " > $OPML
   find $HOME/apps/dotfiles/modules/feeds -name '*.opml' | while read item; do
+    name="`basename $item .opml`"
+    base="`dirname $item | sed -e 's/^\.//'`"
+
+    # Skip the sample
+    if [ "$name" = "sample" ]; then
+      continue
+    fi
+
     echo -n ' "' >> $OPML
     echo -n file://$item >> $OPML
     echo -n '"' >> $OPML