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.
This commit is contained in:
parent
75336f2093
commit
7a261fea6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user