mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Fix
This commit is contained in:
parent
516c641731
commit
4472f6edc0
2 changed files with 4 additions and 4 deletions
|
@ -34,10 +34,10 @@ ynh_script_progression --message="Setting up source files..." --weight=3
|
|||
|
||||
if [ "$version" = "Enterprise" ]; then
|
||||
# Get Enterprise binary path
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="enterprise_$YNH_ARCH"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise_$YNH_ARCH"
|
||||
elif [ "$version" = "Team" ]; then
|
||||
# Get Team binary path
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="team_$YNH_ARCH"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="team_$YNH_ARCH"
|
||||
fi
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
|
@ -97,9 +97,9 @@ then
|
|||
ynh_secure_remove --file="$install_dir"
|
||||
|
||||
if [ "$version" = "Enterprise" ]; then
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="enterprise_$YNH_ARCH"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise_$YNH_ARCH"
|
||||
elif [ "$version" = "Team" ]; then
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id="team_$YNH_ARCH"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="team_$YNH_ARCH"
|
||||
fi
|
||||
|
||||
# Copy the admin saved settings and plugins from tmp directory to final path
|
||||
|
|
Loading…
Reference in a new issue