mirror of
https://github.com/YunoHost-Apps/paperless-ngx_ynh.git
synced 2024-09-03 19:56:33 +02:00
Document Ghostscript build
This commit is contained in:
parent
d62d307ea9
commit
2c06e7091b
4 changed files with 6 additions and 3 deletions
3
doc/PRE_UPGRADE.d/2.4.3~ynh2.md
Normal file
3
doc/PRE_UPGRADE.d/2.4.3~ynh2.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Starting 2.4.3~ynh2, and while YunoHost 12 is yet to be released, Paperless-NGX will require to build its Ghostscript dependency to be able to process documents.
|
||||||
|
|
||||||
|
Expect a longer upgrade !
|
|
@ -5,7 +5,7 @@ name = "Paperless-ngx"
|
||||||
description.en = "Scan, index and archive all your physical documents"
|
description.en = "Scan, index and archive all your physical documents"
|
||||||
description.fr = "Scannez, triez et archivez tous vos documents papiers"
|
description.fr = "Scannez, triez et archivez tous vos documents papiers"
|
||||||
|
|
||||||
version = "2.5.0~ynh1"
|
version = "2.5.0~ynh2"
|
||||||
|
|
||||||
maintainers = ["Tagada"]
|
maintainers = ["Tagada"]
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
# BUILD GHOSTCRIPT SPECIFIC VERSION
|
# BUILD GHOSTCRIPT SPECIFIC VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Building Ghostscript dependency..."
|
ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"
|
||||||
|
|
||||||
pushd $install_dir/ghostscript
|
pushd $install_dir/ghostscript
|
||||||
ynh_exec_warn_less ./configure
|
ynh_exec_warn_less ./configure
|
||||||
|
|
|
@ -100,7 +100,7 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v)
|
if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v)
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Building Ghostscript dependency..."
|
ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir/ghostscript" --source_id="gs" --full_replace
|
ynh_setup_source --dest_dir="$install_dir/ghostscript" --source_id="gs" --full_replace
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue