From 4aaa88968a2a09f4872a8742bc70c2b1f1fddf0a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 20 Nov 2022 19:56:47 +0100 Subject: [PATCH] yunoprompt: don't display postinstall tip to members of all_users group (because they can't check if /etc/yunohost/installed exists, but if they're member of the all_users group, then postinstall was already done) --- bin/yunoprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/yunoprompt b/bin/yunoprompt index 8062ab06e..3ab510d2a 100755 --- a/bin/yunoprompt +++ b/bin/yunoprompt @@ -56,7 +56,7 @@ EOF echo "$LOGO_AND_FINGERPRINTS" > /etc/issue -if [[ ! -f /etc/yunohost/installed ]] +if ! groups | grep -q all_users && [[ ! -f /etc/yunohost/installed ]] then chvt 2