commit:     ca96d2bc6bbcf860d12b9d610509c155029fe3cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 22:46:40 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 22:46:40 2020 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=ca96d2bc
pambase.py: rename system-service -> system-services

Some of e.g. OpenRC's installed pam files assume 'system-services':
./supervise-daemon:2:session include system-services
./start-stop-daemon:2:session include system-services

Signed-off-by: Sam James <sam <AT> gentoo.org>

 pambase.py                                            | 2 +-
 templates/{system-service.tpl => system-services.tpl} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/pambase.py b/pambase.py
index 8f04870..d021b81 100755
--- a/pambase.py
+++ b/pambase.py
@@ -78,7 +78,7 @@ def parse_templates(processed_args):
                "su",
                "system-auth",
                "system-login",
-               "system-service"
+               "system-services"
        ]
 
        for template_name in templates:

diff --git a/templates/system-service.tpl b/templates/system-services.tpl
similarity index 100%
rename from templates/system-service.tpl
rename to templates/system-services.tpl

Reply via email to