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:
parent
1a3c3c71e6
commit
6422d65379
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ popd
|
|||
#=================================================
|
||||
# BUILD GHOSTCRIPT SPECIFIC VERSION
|
||||
#=================================================
|
||||
if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v)
|
||||
if ! dpkg --compare-versions "$($install_dir/ghostscript/bin/gs --version &>/dev/null)" ge "10.02.1"
|
||||
then
|
||||
ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue