1
0
Fork 0
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:
yalh76 2019-07-01 22:58:05 +02:00
parent b263a130e7
commit b1210baf9e
2 changed files with 2 additions and 2 deletions

View file

@ -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="__DOMAIN__" --replace_string="$domain" --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)

View file

@ -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="__DOMAIN__" --replace_string="$domain" --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