From 5cef9c313c6f20d444d71e2cc05856f28f87b220 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 28 Jan 2023 23:42:59 +0100 Subject: [PATCH] Upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f9d2ad2..88ea9ff 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,6 +77,9 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --keep=".env" + ynh_exec_warn_less ynh_exec_as $app ./bw-dev update + ynh_exec_warn_less ynh_exec_as $app ./bw-dev populate_streams + fi chmod 750 "$final_path" @@ -99,6 +102,7 @@ mkdir "$final_path/venv" python3 -m venv "$final_path/venv" $final_path/venv/bin/pip3 install -r "$final_path/requirements.txt" + #================================================= # SET PERMISSIONS ON BOOKWYRM DIRECTORY #=================================================