mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
Fix: recursion in libreoffice prev
This commit is contained in:
parent
2a890bdeae
commit
c83945d661
@ -1,6 +1,6 @@
|
|||||||
# office: libreoffice
|
# office: libreoffice
|
||||||
|
|
||||||
libreoffice() {
|
lo() {
|
||||||
# File produced by libreoffice
|
# File produced by libreoffice
|
||||||
jpg="$(printf '%s\n' "$f" | sed 's|^.*/||; s|\..*$||')"
|
jpg="$(printf '%s\n' "$f" | sed 's|^.*/||; s|\..*$||')"
|
||||||
|
|
||||||
@ -12,4 +12,4 @@ libreoffice() {
|
|||||||
mv -- "$cache_d/$jpg.jpg" "$cache_f"
|
mv -- "$cache_d/$jpg.jpg" "$cache_f"
|
||||||
}
|
}
|
||||||
|
|
||||||
convert_and_show_image libreoffice
|
convert_and_show_image lo
|
||||||
|
Loading…
Reference in New Issue
Block a user