Update scripts/install
This commit is contained in:
parent
47bef32ae2
commit
ffdab037f9
1 changed files with 4 additions and 4 deletions
|
@ -69,14 +69,14 @@ ynh_script_progression "Adding $app's configuration files..."
|
||||||
###
|
###
|
||||||
### Check the documentation of `ynh_config_add` for more info.
|
### Check the documentation of `ynh_config_add` for more info.
|
||||||
|
|
||||||
ynh_config_add --template="run.sh" --destination="$install_dir/run.sh"
|
#ynh_config_add --template="run.sh" --destination="$install_dir/run.sh"
|
||||||
|
|
||||||
# FIXME: this should be handled by the core in the future
|
# FIXME: this should be handled by the core in the future
|
||||||
### You may need to use chmod 600 instead of 400,
|
### 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
|
### for example if the app is expected to be able to modify its own config
|
||||||
chmod +x "$install_dir/run.sh"
|
#chmod +x "$install_dir/run.sh"
|
||||||
chmod 400 "$install_dir/run.sh"
|
#chmod 400 "$install_dir/run.sh"
|
||||||
chown "$app:$app" "$install_dir/run.sh"
|
#chown "$app:$app" "$install_dir/run.sh"
|
||||||
|
|
||||||
### For more complex cases where you want to replace stuff using regexes,
|
### 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)
|
### you shoud rely on ynh_replace (which is basically a wrapper for sed)
|
||||||
|
|
Loading…
Reference in a new issue