Cleanup section modified or added.
This commit is contained in:
@@ -240,6 +240,9 @@ install -m 0644 selinux/%{name}.pp %{buildroot}%{_datadir}/selinux/packages/%{na
|
||||
# Create apache user auth file (backuppc/backuppc):
|
||||
/usr/bin/htpasswd -b -c %{buildroot}%{_sysconfdir}/%{name}/apache.users %{bpcuser} %{bpcuser}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
%{_sbindir}/useradd -d %{_localstatedir}/lib/%{name} -r -s /sbin/nologin %{bpcuser} 2> /dev/null || :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user