From 7a261fea6c816dd0ce641c3a2f0bf37e6addfbb7 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Mon, 17 Jun 2013 14:21:37 +0200 Subject: [PATCH] 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 file changed, 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