1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

No need for update-alternatives

This commit is contained in:
tituspijean 2024-05-01 21:10:51 +02:00
parent 442cd9745c
commit 33e53806d1
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 0 additions and 8 deletions

View file

@ -86,8 +86,6 @@ chown $app:$app $install_dir/.env
#=================================================
ynh_script_progression --message="Deploying..."
update-alternatives --set php /usr/bin/php$phpversion
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install
@ -110,8 +108,6 @@ ynh_store_file_checksum --file="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
#=================================================
# INSTALL THE CRON FILE
#=================================================

View file

@ -107,8 +107,6 @@ ynh_add_config --template=".env" --destination="$install_dir/.env"
#=================================================
ynh_script_progression --message="Deploying..."
update-alternatives --set php /usr/bin/php$phpversion
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install
@ -151,8 +149,6 @@ ynh_store_file_checksum --file="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
update-alternatives --set php /usr/bin/php${YNH_PHP_VERSION}
#=================================================
# INSTALL THE CRON FILE
#=================================================