From 472564fd7f1245617a792f20cdf43ca47e4164e5 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 17 Nov 2019 21:02:43 +0530 Subject: Do not update merged file, remove README.md --- plugins/imgresize | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/imgresize') diff --git a/plugins/imgresize b/plugins/imgresize index 6d016f1..01917e7 100755 --- a/plugins/imgresize +++ b/plugins/imgresize @@ -25,8 +25,6 @@ if [ -z "$res" ]; then read res fi -if ! [ -z "$res" ]; then - if ! [ -z "$minsize" ]; then - imgp -ackx "$res" -s "$minsize" - fi +if ! [ -z "$res" ] && ! [ -z "$minsize" ]; then + imgp -ackx "$res" -s "$minsize" fi -- cgit v1.2.3-70-g09d2