diff --git a/helix.changes b/helix.changes index 3745b4e..11c291f 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 14:44:35 UTC 2023 - Andreas Schneider + +- Fix upgrade path + ------------------------------------------------------------------- Mon Mar 6 08:45:10 UTC 2023 - Andreas Schneider diff --git a/helix.spec b/helix.spec index b4a9d61..a1fb621 100644 --- a/helix.spec +++ b/helix.spec @@ -129,6 +129,11 @@ install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.bash %{b install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +%pre +if [ -l "%{_helix_runtimedir}" ] ; then + rm -f "%{_helix_runtimedir}" +fi + %files %license LICENSE %doc README.md CHANGELOG.md languages.toml docs/CONTRIBUTING.md docs/architecture.md docs/vision.md