1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Install missing Icons

This commit is contained in:
ericgaspar 2020-12-11 16:19:31 +01:00
parent 6e899aff69
commit da9058b99a
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 12 additions and 0 deletions

View file

@ -100,6 +100,9 @@ ynh_script_progression --message="Installing Composer and dependencies..."
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
# Install missing icons
git clone https://github.com/matomo-org/matomo-icons.git "$final_path/plugins/Morpheus/icons" --quiet
#=================================================
# SETUP A CRON
#=================================================

View file

@ -139,6 +139,15 @@ if [[ -f "$final_path/config/config.ini.php" ]]; then
ynh_exec_as $app ./console core:update
fi
#=================================================
# INSRALL MISSING ICONS
#=================================================
if [ ! "$(ls -A "$final_path/plugins/Morpheus/icons")" ]
then
git clone https://github.com/matomo-org/matomo-icons.git "$final_path/plugins/Morpheus/icons" --quiet
fi
#=================================================
# SETUP A CRON
#=================================================