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
4db4b1dea7
commit
655f0e6b62
1 changed files with 3 additions and 4 deletions
|
@ -134,6 +134,7 @@ myynh_install_python() {
|
|||
# Install immich
|
||||
myynh_install_immich() {
|
||||
ynh_use_nodejs
|
||||
ynh_npm="ynh_exec_warn_less $ynh_npm"
|
||||
|
||||
# Install immich-server
|
||||
cd "$tmpdir/server"
|
||||
|
@ -157,7 +158,6 @@ myynh_install_immich() {
|
|||
cp -a "$tmpdir/server/resources" "$install_dir/app/"
|
||||
cp -a "$tmpdir/server/package.json" "$install_dir/app/"
|
||||
cp -a "$tmpdir/server/package-lock.json" "$install_dir/app/"
|
||||
cp -a "$tmpdir/server/start.sh" "$install_dir/app/"
|
||||
cp -a "$tmpdir/server/start-microservices.sh" "$install_dir/app/"
|
||||
cp -a "$tmpdir/server/start-server.sh" "$install_dir/app/"
|
||||
cp -a "$tmpdir/LICENSE" "$install_dir/app/"
|
||||
|
@ -184,7 +184,6 @@ myynh_install_immich() {
|
|||
ynh_exec_warn_less "$install_dir/app/machine-learning/venv/bin/poetry" install --no-root --with dev --with cpu
|
||||
)
|
||||
cp -a "$tmpdir/machine-learning/ann" "$install_dir/app/machine-learning/"
|
||||
cp -a "$tmpdir/machine-learning/start.sh" "$install_dir/app/machine-learning/"
|
||||
cp -a "$tmpdir/machine-learning/app" "$install_dir/app/machine-learning/"
|
||||
# Install custom start.sh script
|
||||
ynh_add_config --template="immich-machine-learning-start.sh" --destination="$install_dir/app/machine-learning/start.sh"
|
||||
|
|
Loading…
Reference in a new issue