1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Fix $phpversion to ${YNH_PHP_VERSION}

This commit is contained in:
tituspijean 2021-02-11 09:01:06 +01:00
parent c8a764154c
commit 896b40b2e4
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ exec_as $app cp "$final_path/user/plugins/login-ldap/login-ldap.yaml" "$final_pa
# CREATE A CRON TASK
#=================================================
echo "* * * * * $app php$phpversion $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app
echo "* * * * * $app php${YNH_PHP_VERSION} $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app
#=================================================
# SETUP PERMISSIONS

View file

@ -187,7 +187,7 @@ exec_as $app cp "$final_path/user/plugins/login-ldap/login-ldap.yaml" "$final_pa
# CREATE A CRON TASK
#=================================================
echo "* * * * * $app php$phpversion $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app
echo "* * * * * $app php${YNH_PHP_VERSION} $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app
#=================================================
# SETUP PERMISSIONS