From 56c3f8549795b04521c56cf2fd1d23778d84d6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 12 Dec 2023 11:05:13 +0100 Subject: [PATCH] Bump Cpanel::JSON::XS to 4.37 --- scripts/install | 3 +++ scripts/upgrade | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index b8321f4..661c0b5 100644 --- a/scripts/install +++ b/scripts/install @@ -76,6 +76,9 @@ chown $app:$app $install_dir/lufi.conf ynh_script_progression --message="Installing $app..." pushd $install_dir + # Patch cpanfile.snapshot to bump dependency + sed -i 's|Cpanel-JSON-XS-4.19|Cpanel-JSON-XS-4.37|' cpanfile.snapshot + sed -i 's|Cpanel::JSON::XS 4.19|Cpanel::JSON::XS 4.37|' cpanfile.snapshot carton install --deployment --without=sqlite --without=mysql --without=htpasswd --without=test popd diff --git a/scripts/upgrade b/scripts/upgrade index 356fb96..6501f31 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,6 +82,9 @@ chown $app:$app $install_dir/lufi.conf ynh_script_progression --message="Building Lufi..." pushd $install_dir + # Patch cpanfile.snapshot to bump dependency + sed -i 's|Cpanel-JSON-XS-4.19|Cpanel-JSON-XS-4.37|' cpanfile.snapshot + sed -i 's|Cpanel::JSON::XS 4.19|Cpanel::JSON::XS 4.37|' cpanfile.snapshot carton install --deployment --without=sqlite --without=mysql --without=htpasswd --without=test popd