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

fix funkwhale-manage collectstatic

This commit is contained in:
Thomas 2023-06-02 23:50:59 +02:00 committed by GitHub
parent 7e258fb893
commit 2e57030ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ ynh_script_progression --message="Upgrading Funkwhale..." --weight=1
pushd $install_dir
source $install_dir/venv/bin/activate
echo "yes" | ynh_exec_warn_less ynh_exec_as $app $install_dir/venv/bin/funkwhale-manage collectstatic --clear --noinput
echo "yes" | ynh_exec_warn_less $install_dir/venv/bin/funkwhale-manage collectstatic --clear --noinput
# needed for enabling the 'unaccent' extension
ynh_psql_execute_as_root --sql="ALTER USER $db_user WITH SUPERUSER;" --database="$db_name"