diff --git a/scripts/install b/scripts/install index b87db0d..e435286 100644 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,7 @@ ynh_add_config --template="../conf/example.site.yml" --destination="$install_dir #================================================= # INSTALL COMPOSER #================================================= -ynh_script_progression --message="Installing Composer..." --weight=1 +ynh_script_progression --message="Installing Composer..." --weight=3 mkdir -p "$install_dir/.composer" ynh_add_config --template="../conf/composer.json" --destination="$install_dir/composer.json" @@ -74,7 +74,7 @@ export PATH="$install_dir/vendor/bin:$PATH" #================================================= # INSTALL DRUPAL #================================================= -ynh_script_progression --message="Installing Drupal..." --weight=1 +ynh_script_progression --message="Installing Drupal..." --weight=5 chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" @@ -97,7 +97,7 @@ update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION} #================================================= # SETUP THE CRON FILE #================================================= -ynh_script_progression --message="Setuping the cron file..." --weight=1 +ynh_script_progression --message="Setting up the cron file..." --weight=1 ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index effd36e..3f6e5e6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -56,7 +56,7 @@ fi #================================================= # UPGRADE COMPOSER #================================================= -ynh_script_progression --message="Upgrading Composer..." --weight=1 +ynh_script_progression --message="Upgrading Composer..." --weight=3 mkdir -p "$install_dir/.composer" ynh_add_config --template="../conf/composer.json" --destination="$install_dir/composer.json" @@ -68,7 +68,7 @@ export PATH="$install_dir/vendor/bin:$PATH" #================================================= # UPGRADE DRUPAL #================================================= -ynh_script_progression --message="Upgrading Drupal..." --weight=1 +ynh_script_progression --message="Upgrading Drupal..." --weight=3 ynh_backup_if_checksum_is_different --file="$install_dir/$app/sites/default/settings.php" @@ -102,7 +102,7 @@ chown $app:$app "$install_dir/$app/sites/default/settings.php" #================================================= # SETUP THE CRON FILE #================================================= -ynh_script_progression --message="Setuping the cron file" --weight=1 +ynh_script_progression --message="Setting up the cron file" --weight=1 ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"