diff --git a/manifest.json b/manifest.json index 4fd4083..ffa3a9b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Web-based cross-platform XMPP client", "fr": "Client XMPP multiplateforme basé sur le Web" }, - "version": "0.18~ynh4", + "version": "0.18~ynh5", "url": "https://movim.eu", "license": "AGPL-3.0-or-later", "maintainer": { diff --git a/scripts/install b/scripts/install index 82fb7e1..2e5663f 100644 --- a/scripts/install +++ b/scripts/install @@ -139,12 +139,11 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php" # Install PHP dependencies using composer #================================================= -( - cd "$final_path" +pushd "$final_path" export COMPOSER_HOME=$final_path curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \ && php${phpversion} composer.phar install --no-interaction -) +popd #================================================= # SETUP SYSTEMD diff --git a/scripts/remove b/scripts/remove index b269df3..693af90 100644 --- a/scripts/remove +++ b/scripts/remove @@ -62,6 +62,7 @@ ynh_remove_nginx_config #================================================= # REMOVE DEPENDENCIES #================================================= +ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies ynh_remove_app_dependencies