Introduction
Introduction Statistics Contact Development Disclaimer Help
annna-add-hashtag: fix logic with non-image/video files - annna - Annna the nic…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 3d9a8006e81bad32584253cc83da100d89e55cca
parent 90966022566d1998015af8435a377fd4b7c734ec
Author: Anders Damsgaard <[email protected]>
Date: Sat, 22 Oct 2022 10:26:44 +0200
annna-add-hashtag: fix logic with non-image/video files
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-add-hashtag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/annna-add-hashtag b/annna-add-hashtag
@@ -308,7 +308,7 @@ processtag() {
esac
tagfilenew="$(/br/bin/quinq-size "${tagfile}" </dev/null | sed 's/.* -…
- if [ $? -eq 0 ];
+ if [ -e "${tagfilenew}" ] && [ $? -eq 0 ];
then
mv "${tagfilenew}" "${tagfile}"
fi
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.