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

Merge pull request #10 from YunoHost-Apps/fix_pictures-not-displayed

Fix pictures not displayed
This commit is contained in:
Gofannon 2018-09-13 23:42:47 +02:00 committed by GitHub
commit ec2868e5d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 15 deletions

View file

@ -6,7 +6,7 @@
"en": "Cheky package for YunoHost.",
"fr": "Application Cheky pour YunoHost."
},
"version": "4.3.3~ynh2",
"version": "4.3.3~ynh3",
"url": "https://www.cheky.net",
"license": "GPL-3.0-or-later",
"maintainer": {

View file

@ -157,8 +157,10 @@ fi
# Set permissions to app files
chown -R root: $final_path
# Only path that needs to be writable by cheky
chown -R $app: $final_path/var
# Folders that needs to be writable by cheky
chown -R $app: $final_path/var # requirement in official documentation
chown -R $app: $final_path/static/media/annonce # needed for "Mes annonces sauvegardées" tab
#=================================================
# SETUP SSOWAT

View file

@ -50,16 +50,6 @@ ynh_remove_nginx_config
# Remove the dedicated php-fpm config
ynh_remove_fpm_config
#=================================================
# CLOSE A PORT
#=================================================
if yunohost firewall list | grep -q "\- $port$"
then
echo "Close port $port"
yunohost firewall disallow TCP $port 2>&1
fi
#=================================================
# SPECIFIC REMOVE
#=================================================

View file

@ -126,8 +126,10 @@ fi
# Set permissions to app files
chown -R root: $final_path
# Only path that needs to be writable by cheky
chown -R $app: $final_path/var
# Folders that needs to be writable by cheky
chown -R $app: $final_path/var # requirement in official documentation
chown -R $app: $final_path/static/media/annonce # needed for "Mes annonces sauvegardées" tab
#=================================================
# SETUP SSOWAT