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:
parent
a4ea7060c0
commit
0b259d838a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue