Skip to content

Commit

Permalink
the actual source is actually in a dist/ subdir x_x
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Dec 4, 2023
1 parent b63ac5b commit cd68259
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=4

ynh_setup_source --dest_dir="$install_dir"
tmp_dir=$(mktemp -d)
ynh_setup_source --dest_dir="$tmp_dir"
# Dist is the compiled version. Other directories are source code and tools to build the program
cp -a "$tmp_dir/dist/." "$install_dir/"
ynh_secure_remove --file="$tmp_dir"

chown -R $app:www-data "$install_dir"

Expand Down

0 comments on commit cd68259

Please sign in to comment.