mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
Fix
This commit is contained in:
parent
96e59a61f2
commit
45242d2b29
2 changed files with 6 additions and 3 deletions
|
@ -71,3 +71,6 @@ ram.runtime = "500M"
|
||||||
extras.postgresql.repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16"
|
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.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"]
|
extras.postgresql.packages = ["libllvm13", "libpq5", "libpq-dev" , "postgresql-16", "postgresql-16-pgvector", "postgresql-client-16", "postgresql-common", "postgresql-client-common"]
|
||||||
|
|
||||||
|
[resources.database]
|
||||||
|
type = "postgresql"
|
||||||
|
|
|
@ -101,8 +101,8 @@ myynh_install_python() {
|
||||||
local MY_DIR=$(pwd)
|
local MY_DIR=$(pwd)
|
||||||
|
|
||||||
# Create a temp direcotry
|
# Create a temp direcotry
|
||||||
tmpdir="$(mktemp --directory)"
|
tmpdir_py="$(mktemp --directory)"
|
||||||
cd "$tmpdir"
|
cd "$tmpdir_py"
|
||||||
|
|
||||||
# Download
|
# Download
|
||||||
wget --output-document="Python-$python.tar.xz" \
|
wget --output-document="Python-$python.tar.xz" \
|
||||||
|
@ -121,7 +121,7 @@ myynh_install_python() {
|
||||||
cd "$MY_DIR"
|
cd "$MY_DIR"
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
ynh_secure_remove "$tmpdir"
|
ynh_secure_remove "$tmpdir_py"
|
||||||
|
|
||||||
# Set version
|
# Set version
|
||||||
py_app_version="/usr/local/bin/python$python_major"
|
py_app_version="/usr/local/bin/python$python_major"
|
||||||
|
|
Loading…
Add table
Reference in a new issue