mirror of
https://github.com/YunoHost-Apps/jellyfin-vue_ynh.git
synced 2024-09-03 19:26:31 +02:00
Update _common.sh
This commit is contained in:
parent
b916b64bf9
commit
8cc2e3d3e5
1 changed files with 3 additions and 3 deletions
|
@ -24,12 +24,12 @@ _npm_build_install() {
|
|||
targetdir=$2
|
||||
subpath=$3
|
||||
|
||||
pushd "$sourcedir" || ynh_die "Could not pushd $sourcedir"
|
||||
ynh_use_nodejs
|
||||
pushd "$sourcedir/frontend" || ynh_die "Could not pushd $sourcedir/frontend"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \
|
||||
"$ynh_npm" ci --no-audit --ignore-scripts
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \
|
||||
"$ynh_npm" run build -- --base="$subpath/"
|
||||
"$ynh_npm" run build
|
||||
popd || ynh_die "Could not popd"
|
||||
|
||||
mv "$sourcedir/frontend/dist" "$targetdir"
|
||||
|
|
Loading…
Reference in a new issue