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)

This commit is contained in:
Alexandre Aubin 2022-11-20 19:56:47 +01:00 committed by GitHub
parent 9bd981620c
commit 4aaa88968a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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