diff options
author | larchunix | 2016-09-30 22:53:29 +0200 |
---|---|---|
committer | larchunix | 2016-09-30 22:53:29 +0200 |
commit | 63ee459751754ac4311d7892e04142816336a454 (patch) | |
tree | 58316a5141264f59896d7bbed59b68180235443f /mock.install | |
parent | 95c2394e3710dab1d4d008d812bdb39cc122c0ad (diff) | |
download | aur-63ee459751754ac4311d7892e04142816336a454.tar.gz |
Use systemd-{sysusers,tmpfiles} to create mock group and dirs
Diffstat (limited to 'mock.install')
-rw-r--r-- | mock.install | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mock.install b/mock.install index 493664c8cd9f..5ea260d740d5 100644 --- a/mock.install +++ b/mock.install @@ -1,7 +1,6 @@ post_install() { - getent group mock >/dev/null || groupadd -r mock - install -o root -g mock -m 02755 -d /var/{cache,lib}/mock - + systemd-sysusers mock.conf + systemd-tmpfiles --create mock.conf echo 'You must add yourself to the mock group in order to run mock.' } |