1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00
This commit is contained in:
Sylvain 2024-03-26 21:04:14 +01:00
parent 96e59a61f2
commit 45242d2b29
2 changed files with 6 additions and 3 deletions

View file

@ -71,3 +71,6 @@ ram.runtime = "500M"
extras.postgresql.repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16"
extras.postgresql.key = "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
extras.postgresql.packages = ["libllvm13", "libpq5", "libpq-dev" , "postgresql-16", "postgresql-16-pgvector", "postgresql-client-16", "postgresql-common", "postgresql-client-common"]
[resources.database]
type = "postgresql"

View file

@ -101,8 +101,8 @@ myynh_install_python() {
local MY_DIR=$(pwd)
# Create a temp direcotry
tmpdir="$(mktemp --directory)"
cd "$tmpdir"
tmpdir_py="$(mktemp --directory)"
cd "$tmpdir_py"
# Download
wget --output-document="Python-$python.tar.xz" \
@ -121,7 +121,7 @@ myynh_install_python() {
cd "$MY_DIR"
# Clean
ynh_secure_remove "$tmpdir"
ynh_secure_remove "$tmpdir_py"
# Set version
py_app_version="/usr/local/bin/python$python_major"