wok rev 24923

mutt: addgroup mail only when not already existing
author Hans-G?nter Theisgen
date Tue Apr 12 16:45:14 2022 +0100 (2022-04-12)
parents 9dbcbcae7c12
children 2048be385116
files mutt/receipt
line diff
     1.1 --- a/mutt/receipt	Mon Apr 11 07:23:35 2022 +0100
     1.2 +++ b/mutt/receipt	Tue Apr 12 16:45:14 2022 +0100
     1.3 @@ -61,7 +61,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	chroot "$1/" addgroup mail
     1.8 +	grep -q ^mail: "$1/etc/group"  || chroot "$1/" addgroup mail
     1.9  }
    1.10  
    1.11  post_remove()