1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
This commit is contained in:
Éric Gaspar 2023-03-07 09:00:35 +01:00
parent 516c641731
commit 4472f6edc0
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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