From 05826853b72e3f9670833a8bbde13ecdc155d344 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 12 Feb 2023 11:24:40 -0500 Subject: [PATCH] mrss.sh: mark articles as read --- contrib/mrss.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/mrss.sh b/contrib/mrss.sh index c3a9f35..12dd39f 100755 --- a/contrib/mrss.sh +++ b/contrib/mrss.sh @@ -59,6 +59,10 @@ sub_read() { else xdg-open $LINK & fi + if [ -h "$art" ]; then + # remove symlinks from new/ + rm "$art" + fi done if [ -n "$VID" ]; then