diff --git a/doc/PRE_UPGRADE.d/2.4.3~ynh2.md b/doc/PRE_UPGRADE.d/2.4.3~ynh2.md new file mode 100644 index 0000000..a07324f --- /dev/null +++ b/doc/PRE_UPGRADE.d/2.4.3~ynh2.md @@ -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 ! diff --git a/manifest.toml b/manifest.toml index 6a4ef8f..38073a7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Paperless-ngx" description.en = "Scan, index and archive all your physical documents" description.fr = "Scannez, triez et archivez tous vos documents papiers" -version = "2.5.0~ynh1" +version = "2.5.0~ynh2" maintainers = ["Tagada"] diff --git a/scripts/install b/scripts/install index 89f16eb..349c6c2 100755 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ popd #================================================= # 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 ynh_exec_warn_less ./configure diff --git a/scripts/upgrade b/scripts/upgrade index 0f9267c..7e709de 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,7 +100,7 @@ popd #================================================= if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v) 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