aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-12-30 20:39:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-12-30 20:39:29 -0300
commit25978da71fb54d40c22d42af21e4844203559df6 (patch)
tree87ca5d7296beb51b817a66dbd77e4c10105228d9
parent04176947e82760e3eebf9a3953f46a2158515e2d (diff)
downloadwrappers-master.tar.gz
wrappers-master.tar.bz2
Fix: news: skip sample.opmlHEADmaster
-rwxr-xr-xnews8
1 files changed, 8 insertions, 0 deletions
diff --git a/news b/news
index 28367e6..6769240 100755
--- 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