tarticlesearch: reopen prompt after update instead of showing notification - sc… | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1dfd14081d8726f3c4f856771135c55f365ff259 | |
parent 4e10517d20e0ddb90203fd7186c656a48f6eb43a | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 | |