From ae55d77ae6c0ac4721dbbc538f12ec460f5199df Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 12 Feb 2024 22:36:51 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Ghostscript=20upgrade=20condition=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4459ded..964ac11 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,7 +98,7 @@ popd #================================================= # BUILD GHOSTCRIPT SPECIFIC VERSION #================================================= -if ! dpkg --compare-versions "$($install_dir/ghostscript/bin/gs --version &>/dev/null)" ge "10.02.1" +if ! dpkg --compare-versions "$($install_dir/ghostscript/bin/gs --version 2>/dev/null)" ge "10.02.1" then ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"