summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-06-20 10:41:07 +0200
committerTor Egge <Tor.Egge@online.no>2022-06-20 10:41:07 +0200
commit45f4cfeaba034602c5fe16020d010125a8d0681d (patch)
tree5a426e41ff819f83962d8f46bdbbb22398710c3c /dist
parentc1113c41bd63f46a7452b1baec2d142e03b2702e (diff)
Stop removing vespa user and vespa group when removing vespa-base RPM.
Diffstat (limited to 'dist')
-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.