1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

remove duplicats

This commit is contained in:
ericgaspar 2021-06-03 23:18:46 +02:00
parent 31641a9659
commit c2b52cf95f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 12 additions and 12 deletions

View file

@ -190,9 +190,9 @@ secret="$(ynh_string_random)"
ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml" ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml"
# Set permissions to app files # Set permissions to app files
chmod 750 "$final_path" # chmod 750 "$final_path"
chmod -R o-rwx "$final_path" # chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" # chown -R $app:www-data "$final_path"
pushd "$final_path" pushd "$final_path"
ynh_use_ruby ynh_use_ruby
@ -316,9 +316,9 @@ mkdir -p "public/forum"
cd public/forum && ln -s ../uploads && ln -s ../backups cd public/forum && ln -s ../uploads && ln -s ../backups
) )
chmod 750 "$final_path" # chmod 750 "$final_path"
chmod -R o-rwx "$final_path" # chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" # chown -R $app:www-data "$final_path"
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE

View file

@ -266,9 +266,9 @@ then
ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml" ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml"
# Set permissions to app files # Set permissions to app files
chmod 750 "$final_path" # chmod 750 "$final_path"
chmod -R o-rwx "$final_path" # chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" # chown -R $app:www-data "$final_path"
pushd "$final_path" pushd "$final_path"
# Install bundler, a gems installer # Install bundler, a gems installer
@ -371,9 +371,9 @@ mkdir -p "$final_path/tmp/sockets"
) )
# Set permissions to app files # Set permissions to app files
chmod 750 "$final_path" # chmod 750 "$final_path"
chmod -R o-rwx "$final_path" # chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" # chown -R $app:www-data "$final_path"
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE