1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/huginn_ynh.git synced 2024-09-03 19:26:13 +02:00

Try to fix install

This commit is contained in:
Salamandar 2024-02-23 20:24:58 +01:00
parent 0a239ab6aa
commit 6f36d2ba19
2 changed files with 22 additions and 7 deletions

View file

@ -43,10 +43,10 @@ ram.runtime = "50M"
example = "invitationcode" example = "invitationcode"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz" url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz"
sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9" sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_release"
[resources.ports] [resources.ports]
@ -58,7 +58,22 @@ ram.runtime = "50M"
main.url = "/" main.url = "/"
[resources.apt] [resources.apt]
packages = "mariadb-server, default-libmysqlclient-dev, libyaml-dev, libgdbm-dev, libncurses5-dev, libffi-dev, libcurl4-openssl-dev, libicu-dev, python3-docutils, pkg-config, cmake, graphviz, jq" packages = [
"mariadb-server",
"default-libmysqlclient-dev",
"libyaml-dev",
"libgdbm-dev",
"libncurses5-dev",
"libjemalloc-dev",
"libffi-dev",
"libcurl4-openssl-dev",
"libicu-dev",
"python3-docutils",
"pkg-config",
"cmake",
"graphviz",
"jq",
]
[resources.database] [resources.database]
type = "mysql" type = "mysql"

View file

@ -80,7 +80,7 @@ ynh_use_ruby () {
ynh_ruby_load_path="PATH=$PATH" ynh_ruby_load_path="PATH=$PATH"
# Sets the local application-specific Ruby version # Sets the local application-specific Ruby version
pushd $final_path pushd $install_dir
$rbenv_install_dir/bin/rbenv local $ruby_version $rbenv_install_dir/bin/rbenv local $ruby_version
popd popd
} }