From 9e2d11d31e901ca565cf17a23cc54f009ce2ffb9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 23 Sep 2022 00:44:41 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 90947c6..db1d4eb 100755 --- a/scripts/install +++ b/scripts/install @@ -177,7 +177,7 @@ pushd $datadir ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $archivebox_cmd init ynh_script_progression --message="Checking if admin superuser already exists: $admin" --weight=1 - ynh_exec_warn_less USER_EXISTS=$(ynh_exec_as $app $archivebox_cmd manage shell -c "from django.contrib.auth.models import User; print(User.objects.filter(username='$admin').count())") + USER_EXISTS=$(ynh_exec_as $app $archivebox_cmd manage shell -c "from django.contrib.auth.models import User; print(User.objects.filter(username='$admin').count())") ynh_script_progression --message="Found users: $USER_EXISTS" --weight=1 if [ $USER_EXISTS -eq 1 ]