From c83945d6617d0f8ca561b4d8a415cfce3af7801d Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Sun, 31 Jul 2022 17:12:18 +0500 Subject: [PATCH] Fix: recursion in libreoffice prev --- sh/prev/libreoffice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/prev/libreoffice.sh b/sh/prev/libreoffice.sh index 02c13a4..4d80f1a 100644 --- a/sh/prev/libreoffice.sh +++ b/sh/prev/libreoffice.sh @@ -1,6 +1,6 @@ # office: libreoffice -libreoffice() { +lo() { # File produced by libreoffice jpg="$(printf '%s\n' "$f" | sed 's|^.*/||; s|\..*$||')" @@ -12,4 +12,4 @@ libreoffice() { mv -- "$cache_d/$jpg.jpg" "$cache_f" } -convert_and_show_image libreoffice +convert_and_show_image lo