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"
[resources]
[resources.sources.main]
url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz"
sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9"
autoupdate.strategy = "latest_github_tag"
[resources.sources.main]
url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz"
sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9"
autoupdate.strategy = "latest_github_release"
[resources.ports]
@ -58,7 +58,22 @@ ram.runtime = "50M"
main.url = "/"
[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]
type = "mysql"

View file

@ -80,7 +80,7 @@ ynh_use_ruby () {
ynh_ruby_load_path="PATH=$PATH"
# Sets the local application-specific Ruby version
pushd $final_path
pushd $install_dir
$rbenv_install_dir/bin/rbenv local $ruby_version
popd
}
@ -286,7 +286,7 @@ ynh_cleanup_ruby () {
required_ruby_versions="${installed_app_ruby_version}\n${required_ruby_versions}"
fi
done
# Remove no more needed Ruby versions
local installed_ruby_versions=$(rbenv versions --bare --skip-aliases | grep -Ev '/')
for installed_ruby_version in $installed_ruby_versions