Fix 2ff - farbfeld - suckless image format with conversion tools
HTML git clone git://git.suckless.org/farbfeld
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 14df2f24dfedf9d12dcec02d57c596a34be0f197
DIR parent 489b6402af4972b19a9295ccb74482b8daec83ec
HTML Author: FRIGN <dev@frign.de>
Date: Fri, 4 Mar 2016 12:22:07 +0100
Fix 2ff
No idea how "xconvert" sneaked into there.
Diffstat:
M 2ff | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/2ff b/2ff
@@ -12,7 +12,7 @@ FORMAT=$(file -ib $TMP | cut -d ";" -f 1);
case "$FORMAT" in
image/png) png2ff < $TMP; ret=$? ;;
image/jpeg) jpg2ff < $TMP; ret=$? ;;
- *) xconvert $TMP png:- 2>/dev/null | png2ff 2>/dev/null; ret=$? ;;
+ *) convert $TMP png:- 2>/dev/null | png2ff 2>/dev/null; ret=$? ;;
esac
rm $TMP;