summaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
Diffstat (limited to 'standalone-container')
-rw-r--r--standalone-container/vespa-standalone-container.spec9
1 files changed, 0 insertions, 9 deletions
diff --git a/standalone-container/vespa-standalone-container.spec b/standalone-container/vespa-standalone-container.spec
index 571b8b0ff4c..99e42ccee10 100644
--- a/standalone-container/vespa-standalone-container.spec
+++ b/standalone-container/vespa-standalone-container.spec
@@ -99,15 +99,6 @@ done
%clean
rm -rf %buildroot
-%pre
-getent group vespa >/dev/null || groupadd -r vespa
-getent passwd vespa >/dev/null || \
- useradd -r -g vespa -d %_prefix -s /sbin/nologin \
- -c "Create owner of all Vespa data files" vespa
-echo "pathmunge %_prefix/bin" > /etc/profile.d/vespa.sh
-echo "export VESPA_HOME=%_prefix" >> /etc/profile.d/vespa.sh
-chmod +x /etc/profile.d/vespa.sh
-
%postun
if [ $1 -eq 0 ]; then # this is an uninstallation
rm -f /etc/profile.d/vespa.sh