1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paperless-ngx_ynh.git synced 2024-09-03 19:56:33 +02:00

Fix Ghostscript upgrade condition²

This commit is contained in:
tituspijean 2024-02-12 22:36:51 +01:00
parent 6d8384738f
commit ae55d77ae6
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -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!)"