diff --git a/scripts/install b/scripts/install index 0ad2a25..8c811e2 100644 --- a/scripts/install +++ b/scripts/install @@ -176,7 +176,7 @@ ynh_print_info --message="Setuping a cron..." cp ../conf/cron_lufi /etc/cron.d/$app ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app" -ynh_replace_string --match_string="__USER__" --replace_string"$app" --target_file="/etc/cron.d/$app" +ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="/etc/cron.d/$app" chmod +x $final_path/script/lufi #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2df44fb..a4d5a50 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -205,7 +205,7 @@ ynh_print_info --message="Setuping cron..." cp ../conf/cron_lufi /etc/cron.d/$app ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app" -ynh_replace_string --match_string="__USER__" --replace_string"$app" --target_file="/etc/cron.d/$app" +ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="/etc/cron.d/$app" chmod +x $final_path/script/lufi #=================================================