tarticlesearch: reopen prompt after update instead of showing notification - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
(HTM) git clone git://src.adamsgaard.dk/scholarref
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1dfd14081d8726f3c4f856771135c55f365ff259
(DIR) parent 4e10517d20e0ddb90203fd7186c656a48f6eb43a
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 26 Aug 2021 13:39:52 +0200
articlesearch: reopen prompt after update instead of showing notification
Diffstat:
M articlesearch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/articlesearch b/articlesearch
t@@ -12,7 +12,6 @@ update_cache() {
find $dir -type f \
-iname "*.pdf" -o -iname "*.eps" -o -iname "*.gs" \
-o -iname "*.djvu" -o -iname "*.epub" > "$cachefile"
- xmessage "${0##*/} database update complete"
}
if [ "$1" = "-u" ]; then
t@@ -33,6 +32,7 @@ query="$((
if [ "$query" = "Update cache" ]; then
update_cache
+ exec "$0"
exit 0
fi