[gnome-initial-setup] Don't remove the user account in %postun
rtcm
rtcm at fedoraproject.org
Mon Jun 17 22:30:13 UTC 2013
commit 7a261fea6c816dd0ce641c3a2f0bf37e6addfbb7
Author: Rui Matos <tiagomatos at gmail.com>
Date: Mon Jun 17 14:21:37 2013 +0200
Don't remove the user account in %postun
The packaging guidelines say we shouldn't remove user accounts. We
definitely can't do it unconditionally since this means that we are
removing it on upgrades.
gnome-initial-setup.spec | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnome-initial-setup.spec b/gnome-initial-setup.spec
index 6e7fe72..d598e4f 100644
--- a/gnome-initial-setup.spec
+++ b/gnome-initial-setup.spec
@@ -91,9 +91,6 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/gnome-initial-setup
%pre
useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null || :
-%postun
-userdel %{name} &>/dev/null || :
-
%files -f %{name}.lang
%doc COPYING README
%{_libexecdir}/gnome-initial-setup
More information about the scm-commits
mailing list