1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00

Fix mysql_execute_as_root

This commit is contained in:
Salamandar 2024-01-16 22:14:40 +01:00
parent a4ea7060c0
commit 0b259d838a

View file

@ -51,7 +51,7 @@ ynh_local_curl "/install.php?installButton" \
"password=$password" "password=$password"
# Create cron file # Create cron file
code_sync=$(ynh_mysql_execute_as_root --sql='SELECT value FROM leed_configuration WHERE `key`="synchronisationCode"' | sed -n 1p) code_sync=$(ynh_mysql_execute_as_root --database="$app" --sql='SELECT value FROM leed_configuration WHERE `key`="synchronisationCode"' | sed -n 1p)
ynh_add_config --template="cron_leed" --destination="/etc/cron.d/$app" ynh_add_config --template="cron_leed" --destination="/etc/cron.d/$app"
#================================================= #=================================================