diff --git a/conf/build-lock.json b/conf/build-lock.json new file mode 100644 index 0000000..8a63046 --- /dev/null +++ b/conf/build-lock.json @@ -0,0 +1,26 @@ +{ + "sources": [ + { + "name": "imagemagick", + "version": "?" + }, + { + "name": "libheif", + "version": "?" + }, + { + "name": "libraw", + "version": "?" + }, + { + "name": "libvips", + "version": "?" + } + ], + "packages": [ + { + "name": "ffmpeg", + "version": "?" + } + ] +} diff --git a/scripts/install b/scripts/install index e44f34b..5466941 100755 --- a/scripts/install +++ b/scripts/install @@ -64,6 +64,10 @@ ynh_add_config --template="env-machine-learning" --destination="$install_dir/env chmod 600 "$install_dir/env-machine-learning" chown $app:$app "$install_dir/env-machine-learning" +ynh_add_config --template="build-lock.json" --destination="$install_dir/app/build-lock.json" +chmod 600 "$install_dir/app/build-lock.json" +chown $app:$app "$install_dir/app/build-lock.json" + #================================================= # SYSTEM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fc034e6..5108b66 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,6 +68,10 @@ ynh_add_config --template="env-machine-learning" --destination="$install_dir/env chmod 600 "$install_dir/env-machine-learning" chown $app:$app "$install_dir/env-machine-learning" +ynh_add_config --template="build-lock.json" --destination="$install_dir/app/build-lock.json" +chmod 600 "$install_dir/app/build-lock.json" +chown $app:$app "$install_dir/app/build-lock.json" + #================================================= # REAPPLY SYSTEM CONFIGURATIONS #=================================================