mirror of
https://github.com/YunoHost-Apps/strut_ynh.git
synced 2024-09-03 20:26:33 +02:00
the actual source is actually in a dist/ subdir x_x
This commit is contained in:
parent
b63ac5b12d
commit
cd68259c31
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue