aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 19:20:06 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 19:20:06 +0200
commit5f421f48d7fb69b8c8adafad48b93bbb621c6dce (patch)
tree4128914c8ed544a0a12d591e2c92b2569c8d870c /scripts
parentc309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9 (diff)
downloadmastodon_ynh-5f421f48d7fb69b8c8adafad48b93bbb621c6dce.tar.gz
mastodon_ynh-5f421f48d7fb69b8c8adafad48b93bbb621c6dce.tar.bz2
mastodon_ynh-5f421f48d7fb69b8c8adafad48b93bbb621c6dce.zip
Fix CRON
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install2
-rw-r--r--scripts/upgrade2
2 files changed, 0 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install
index 1f1a11f..32cb94e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -230,8 +230,6 @@ ynh_secure_remove --file="$final_path/live/key.txt"
ynh_script_progression --message="Setuping a cron job for removing cache..." --weight=1
ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/cron"
-ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
-ynh_replace_string --match_string="__RBENVROOT__" --replace_string="$RBENV_ROOT" --target_file="../conf/cron"
cp -f ../conf/cron /etc/cron.d/$app
#=================================================
diff --git a/scripts/upgrade b/scripts/upgrade
index da0e7bb..0a19125 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -308,8 +308,6 @@ ynh_store_file_checksum --file="$config"
ynh_script_progression --message="Setuping a cron job for removing cache..." --weight=1
ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/cron"
-ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/cron"
-ynh_replace_string --match_string="__RBENVROOT__" --replace_string="$RBENV_ROOT" --target_file="../conf/cron"
cp -f ../conf/cron /etc/cron.d/$app
#=================================================