feat(users/Profpatsch): init initial aerc config

aerc is a mail client. It needs some ini files to work.
This is an initial attempt at generating them.

Change-Id: I087955f19d2c4527275500a1e13eeb071c98a7b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5526
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2022-05-05 21:10:12 +02:00
parent f0e52f31cd
commit 2a6928fb4c
3 changed files with 335 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/config/config.go b/config/config.go
index 0472daf..5eed379 100644
--- a/config/config.go
+++ b/config/config.go
@@ -779,6 +779,7 @@ func (config *AercConfig) LoadBinds(binds *ini.File, baseName string, baseGroup
// checkConfigPerms checks for too open permissions
// printing the fix on stdout and returning an error
func checkConfigPerms(filename string) error {
+ return nil;
info, err := os.Stat(filename)
if err != nil {
return nil // disregard absent files