diff options
author | Eirk Nygaard <eirik.nygaard@yahooinc.com> | 2022-11-07 09:19:09 +0000 |
---|---|---|
committer | Eirk Nygaard <eirik.nygaard@yahooinc.com> | 2022-11-07 09:53:25 +0000 |
commit | 7e958aca161efdbdbfbfe50a8e0249414fc74cb1 (patch) | |
tree | 8f91ec767b6db09d0d55aeaa5ed1781c11d35a73 | |
parent | baf904e2d020b5a2594a3eea00bdaccc0d26a20d (diff) |
fix symlink
-rw-r--r-- | dist/vespa.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index b84084c82f8..2592e769359 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -588,7 +588,7 @@ exit 0 %post base -ln -s %{_prefix}/var/tmp %{buildroot}/%{_prefix}/tmp +ln -sf %{_prefix}/var/tmp %{_prefix}/tmp %postun base if [ $1 -eq 0 ]; then # this is an uninstallation @@ -607,7 +607,7 @@ then mv %{_prefix}/conf/vespa/default-env.txt.rpmsave %{_prefix}/conf/vespa/default-env.txt fi fi -if test -L rm %{_prefix}/tmp +if test -L %{_prefix}/tmp then rm -f %{_prefix}/tmp fi |