From 34e6d93d57454153ce1b7c1573e3b307b1b26b82 Mon Sep 17 00:00:00 2001 From: farvardin Date: Wed, 7 Feb 2024 16:18:28 +0100 Subject: [PATCH] fix #24 (css doesn't load) --- scripts/install | 2 ++ scripts/upgrade | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 28473e5..ae7735d 100755 --- a/scripts/install +++ b/scripts/install @@ -33,6 +33,8 @@ ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" +chmod -R 755 "$install_dir" + #================================================= # SPECIFIC SETUP #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 58dd47e..117c6da 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,7 +51,6 @@ ynh_app_setting_set --app="$app" --key=color --value="$color" ynh_script_progression --message="Upgrading source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src -# ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.php pheditor.php menu.php config.t2t var/pages/main.txt var/pages/todo.txt var/pages/sandbox.txt var/pages/links.txt var/pages/admin.txt" ynh_setup_source --dest_dir="$install_dir" --keep="config.php pheditor.php menu.php config.t2t var/pages/main.txt var/pages/todo.txt var/pages/sandbox.txt var/pages/links.txt var/pages/admin.txt"