From 88c3653afae83c64cdfa8f9a2849b46752f19ba4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 15 Aug 2016 19:48:51 +1200 Subject: Correct order of tasks in xgo(1) --- bin/xgo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xgo b/bin/xgo index bdfcc402..e808027c 100755 --- a/bin/xgo +++ b/bin/xgo @@ -17,6 +17,9 @@ for url ; do ( ;; esac + # Get the MIME type data + mt=$(urlmt "$url") + # If the MIME type is an image, load it in feh(1) case $mt in image/gif) ;; @@ -25,9 +28,6 @@ for url ; do ( ;; esac - # Get the MIME type data - mt=$(urlmt "$url") - # Otherwise, just pass it to br(1) br "$url" ) & done -- cgit v1.2.3