diff options
author | Yosl <yosl@seattlemesh.net> | 2020-02-18 19:41:25 -0800 |
---|---|---|
committer | Yosl <yosl@seattlemesh.net> | 2020-02-18 19:41:25 -0800 |
commit | eefb47fc320c96dafd09c40d9f6f000a664db9a8 (patch) | |
tree | abf49a0b929ad5c428c0bbefcd7922893e18caba | |
parent | c08baf6fa89ad7356cadcf26c667bcb80efa634b (diff) | |
download | gnunet-rpm-eefb47fc320c96dafd09c40d9f6f000a664db9a8.tar.gz gnunet-rpm-eefb47fc320c96dafd09c40d9f6f000a664db9a8.zip |
Only add user 'gnunet' if it does not already exist
-rw-r--r-- | rpmbuild/SPECS/gnunet-fedora.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec index ec50eb9..002e43b 100644 --- a/rpmbuild/SPECS/gnunet-fedora.spec +++ b/rpmbuild/SPECS/gnunet-fedora.spec | |||
@@ -98,7 +98,7 @@ make clean | |||
98 | %pre | 98 | %pre |
99 | /usr/sbin/groupadd -r %{name} | 99 | /usr/sbin/groupadd -r %{name} |
100 | /usr/sbin/groupadd -r %{name}dns | 100 | /usr/sbin/groupadd -r %{name}dns |
101 | /usr/sbin/useradd -r -g %{name} -G %{name}dns -m --base-dir %{gnunethome} %{gnunetuser} | 101 | /usr/sbin/useradd -r -g %{name} -G %{name}dns -m --base-dir %{gnunethome} %{gnunetuser} || true |
102 | 102 | ||
103 | %install | 103 | %install |
104 | #find %{buildroot} -type f -name '*.la' -delete | 104 | #find %{buildroot} -type f -name '*.la' -delete |