mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Changed the URL of the sources to include all sub modules (#48)
* Change for the URL used in the official documentation This archive contains the git sub-modules such as the tag manager for example * no more need for the specific setup part * Same, no more need for the specific setup part
This commit is contained in:
parent
8f28f0e9db
commit
084d9af1e5
3 changed files with 2 additions and 33 deletions
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/matomo-org/matomo/archive/refs/tags/4.3.1.tar.gz
|
SOURCE_URL=https://builds.matomo.org/matomo-4.3.1.tar.gz
|
||||||
SOURCE_SUM=1b81dff17dd35e1b3a1fe6a5fe28a2916c5fb5537bf3fafc13020f52becf888a
|
SOURCE_SUM=55ee0fd5c555fee679f4171069464b4d33b0a635fbbdea1ff6347497763dc4e4
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -97,15 +97,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL COMPOSER AND DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Installing Composer and dependencies..."
|
|
||||||
|
|
||||||
ynh_install_composer
|
|
||||||
|
|
||||||
# Install missing icons
|
|
||||||
ynh_setup_source --dest_dir="$final_path/plugins/Morpheus/icons" --source_id="icons"
|
|
||||||
chmod -R 755 "$final_path/plugins/Morpheus"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP A CRON
|
# SETUP A CRON
|
||||||
|
|
|
@ -119,28 +119,6 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL COMPOSER AND DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Installating composer and dependencies..."
|
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
|
||||||
then
|
|
||||||
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
|
|
||||||
if [[ -f "$final_path/config/config.ini.php" ]]; then
|
|
||||||
php$phpversion $final_path/console core:update -n
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# INSTALL MISSING ICONS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
if [ ! "$(ls -A "$final_path/plugins/Morpheus/icons")" ]
|
|
||||||
then
|
|
||||||
ynh_script_progression --message="Installating Morpheus icons..."
|
|
||||||
ynh_setup_source --dest_dir="$final_path/plugins/Morpheus/icons" --source_id="icons"
|
|
||||||
chmod -R 755 "$final_path/plugins/Morpheus"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP A CRON
|
# SETUP A CRON
|
||||||
|
|
Loading…
Reference in a new issue