From f19ffda5ff1c463fec700d02970ac04bb0ca9916 Mon Sep 17 00:00:00 2001 From: denis Date: Thu, 7 Nov 2024 04:34:20 -0500 Subject: [PATCH] Update scripts/install --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index db002b5..9745efc 100755 --- a/scripts/install +++ b/scripts/install @@ -74,8 +74,9 @@ ynh_config_add --template="run.sh" --destination="$install_dir/run.sh" # FIXME: this should be handled by the core in the future ### You may need to use chmod 600 instead of 400, ### for example if the app is expected to be able to modify its own config -chmod 400 "$install_dir/some_config_file" -chown "$app:$app" "$install_dir/some_config_file" +chmod +x "$install_dir/run.sh" +chmod 400 "$install_dir/run.sh" +chown "$app:$app" "$install_dir/run.sh" ### For more complex cases where you want to replace stuff using regexes, ### you shoud rely on ynh_replace (which is basically a wrapper for sed)