Do not remove user on common subpackage uninstall
This commit is contained in:
parent
9716ec6b1d
commit
c8ac0a0ab5
10
bacula.spec
10
bacula.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 5.2.11
|
Version: 5.2.11
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -498,11 +498,6 @@ getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
%postun common
|
|
||||||
test "$1" != 0 || userdel %username &>/dev/null || :
|
|
||||||
test "$1" != 0 || groupdel %username &>/dev/null || :
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# Until this is fixed upstream in fedpkg, leave it like this
|
# Until this is fixed upstream in fedpkg, leave it like this
|
||||||
# http://permalink.gmane.org/gmane.linux.redhat.fedora.devel/168291
|
# http://permalink.gmane.org/gmane.linux.redhat.fedora.devel/168291
|
||||||
%if (0%{?fedora} == 16 || 0%{?fedora} == 17) && !0%{?rhel}
|
%if (0%{?fedora} == 16 || 0%{?fedora} == 17) && !0%{?rhel}
|
||||||
@ -883,6 +878,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 13 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-2
|
||||||
|
- Do not remove user on common subpackage uninstall.
|
||||||
|
|
||||||
* Tue Sep 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-1
|
* Tue Sep 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-1
|
||||||
- Update to 5.2.11.
|
- Update to 5.2.11.
|
||||||
- Removed upstreamed patches.
|
- Removed upstreamed patches.
|
||||||
|
Loading…
Reference in New Issue
Block a user