/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2019-08-18 00:42:22 UTC
  • Revision ID: teddy@recompile.se-20190818004222-lfrgtnmqz766a08e
Client: Use the systemd sysusers.d mechanism, if present

* Makefile (install-client-nokey): Also install sysusers.d file, if
                                   $(SYSUSERS) exists.
* sysusers.d-mandos.conf: Adjust comment to match reality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
        install --directory --mode=u=rwx $(KEYDIR) \
437
437
                $(LIBDIR)/mandos/plugins.d \
438
438
                $(LIBDIR)/mandos/plugin-helpers
 
439
        if [ "$(SYSUSERS)" != "$(DESTDIR)" \
 
440
                        -a -d "$(SYSUSERS)" ]; then \
 
441
                install --mode=u=rw,go=r sysusers.d-mandos.conf \
 
442
                        $(SYSUSERS)/mandos-client.conf; \
 
443
        fi
439
444
        if [ "$(CONFDIR)" != "$(LIBDIR)/mandos" ]; then \
440
445
                install --mode=u=rwx \
441
446
                        --directory "$(CONFDIR)/plugins.d" \