From 0d92ad63ddf9a66e274be25d6c35be1f0d1a6fcf Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 5 Aug 2023 12:41:05 +0200 Subject: [PATCH] patch web.py for visitors --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index fcaa3b0..71428ad 100755 --- a/scripts/install +++ b/scripts/install @@ -36,6 +36,9 @@ ynh_add_config --template="../sources/patches/main-constants.py.patch.src" --des # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +# Remove the patch for web.py in case visitor are allowed +patch -u /$install_dir/cps/web.py -i ../conf/web.py.revert.patch + #install kepubify converter ynh_script_progression --message="Installing kepubify..." --weight=1 ynh_setup_source --dest_dir="/opt/kepubify" --source_id="kepubify"