mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Fix sudo not needed
This commit is contained in:
parent
b263a130e7
commit
b1210baf9e
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ ynh_replace_string --match_string="YNH_WWW_PATH" --replace_string="$final_path"
|
||||||
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
|
||||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/cron"
|
||||||
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="../conf/cron"
|
||||||
sudo cp -f ../conf/cron /etc/cron.d/$app
|
cp -f ../conf/cron /etc/cron.d/$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE (TO DO: Automate install)
|
# MODIFY A CONFIG FILE (TO DO: Automate install)
|
||||||
|
|
|
@ -130,7 +130,7 @@ ynh_replace_string --match_string="YNH_WWW_PATH" --replace_string="$final_path"
|
||||||
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
|
||||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/cron"
|
||||||
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="../conf/cron"
|
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="../conf/cron"
|
||||||
sudo cp -f ../conf/cron /etc/cron.d/$app
|
cp -f ../conf/cron /etc/cron.d/$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue