mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Bump Cpanel::JSON::XS to 4.37
This commit is contained in:
parent
33423433ff
commit
56c3f85497
2 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,9 @@ chown $app:$app $install_dir/lufi.conf
|
||||||
ynh_script_progression --message="Installing $app..."
|
ynh_script_progression --message="Installing $app..."
|
||||||
|
|
||||||
pushd $install_dir
|
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
|
carton install --deployment --without=sqlite --without=mysql --without=htpasswd --without=test
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,9 @@ chown $app:$app $install_dir/lufi.conf
|
||||||
ynh_script_progression --message="Building Lufi..."
|
ynh_script_progression --message="Building Lufi..."
|
||||||
|
|
||||||
pushd $install_dir
|
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
|
carton install --deployment --without=sqlite --without=mysql --without=htpasswd --without=test
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue