mirror of
https://github.com/YunoHost-Apps/drupal_ynh.git
synced 2024-09-03 18:35:53 +02:00
english fixes, weight fixes
This commit is contained in:
parent
4ada2c094f
commit
d19f037abe
2 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue