From c3a36427edcfaa0f9fa2f22cff2022b8f2faea83e00330f0fe08af4a67119962 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Wed, 8 Mar 2023 15:33:36 +0000 Subject: [PATCH] Accepting request 1070199 from home:gladiac:branches:editors - Fix upgrade path OBS-URL: https://build.opensuse.org/request/show/1070199 OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=54 --- helix.changes | 5 +++++ helix.spec | 5 +++++ 2 files changed, 10 insertions(+) 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