diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-02-26 13:26:36 +0100 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-02-26 13:26:36 +0100 |
commit | cc85b17fae9e07f8af0c04684fc45fc444f0c1bc (patch) | |
tree | fced0beabf8c0d8e1bb77e9756e18e4d79248ef8 /standalone-container | |
parent | 9432751c53285669b9a3b3ab605d673459bcbf37 (diff) |
Remove duplicate pre section
This RPM depends on vespa-base which does everything in this section
already
Diffstat (limited to 'standalone-container')
-rw-r--r-- | standalone-container/vespa-standalone-container.spec | 9 |
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 |