diff options
author | Profpatsch <mail@profpatsch.de> | 2022-05-05T19·10+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-05-05T20·18+0000 |
commit | 2a6928fb4cde593c530c3dd49cb9f80126c8df42 (patch) | |
tree | 04674c2c818f6acbbeb36a30d490fff590d4e98e /users/Profpatsch/aerc-no-config-perms.patch | |
parent | f0e52f31cd33fd321f71eda0bc1d6cd965b5997c (diff) |
feat(users/Profpatsch): init initial aerc config r/4009
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>
Diffstat (limited to 'users/Profpatsch/aerc-no-config-perms.patch')
-rw-r--r-- | users/Profpatsch/aerc-no-config-perms.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/users/Profpatsch/aerc-no-config-perms.patch b/users/Profpatsch/aerc-no-config-perms.patch new file mode 100644 index 000000000000..86b41cd74b08 --- /dev/null +++ b/users/Profpatsch/aerc-no-config-perms.patch @@ -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 |