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 #=================================================