Skip to content

Commit

Permalink
Fix build-lock.json warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain committed Jul 19, 2024
1 parent 3d9fa18 commit 2b2aeb3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions conf/build-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"sources": [
{
"name": "imagemagick",
"version": "?"
},
{
"name": "libheif",
"version": "?"
},
{
"name": "libraw",
"version": "?"
},
{
"name": "libvips",
"version": "?"
}
],
"packages": [
{
"name": "ffmpeg",
"version": "?"
}
]
}
4 changes: 4 additions & 0 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
#=================================================
Expand Down
4 changes: 4 additions & 0 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -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
#=================================================
Expand Down

0 comments on commit 2b2aeb3

Please sign in to comment.