aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-06-20 11:17:10 +0200
committerGitHub <noreply@github.com>2022-06-20 11:17:10 +0200
commit6d2fb1d43b8075fa5d4a224c5a97f1f61f6ac094 (patch)
treeb1746eabf1e31b80441a9f55384eb67a358a5fe9
parentf4ad1374ee59dffd38fd43f7350d9dbbaa275f67 (diff)
parent45f4cfeaba034602c5fe16020d010125a8d0681d (diff)
Merge pull request #23162 from vespa-engine/toregge/stop-removing-vespa-user-when-removing-vespa-base-rpm
Stop removing vespa user and vespa group when removing vespa-base RPM.
-rw-r--r--dist/vespa.spec6
1 files changed, 0 insertions, 6 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 2e56a316182..72a2b58f930 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -692,12 +692,6 @@ exit 0
%postun base
if [ $1 -eq 0 ]; then # this is an uninstallation
rm -f /etc/profile.d/vespa.sh
-%if %{_create_vespa_user}
- ! getent passwd %{_vespa_user} >/dev/null || userdel %{_vespa_user}
-%endif
-%if %{_create_vespa_group}
- ! getent group %{_vespa_group} >/dev/null || groupdel %{_vespa_group}
-%endif
fi
# Keep modifications to conf/vespa/default-env.txt across
# package uninstall + install.