From b5c78e8da2a6a57b0b2daff5f14d7cd066823abf Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 14 Mar 2024 23:21:13 +0100 Subject: [PATCH] pkg: Fix fish shell completion paths --- pkg/deb/debian/rules | 2 +- pkg/fedora/surface-control.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/deb/debian/rules b/pkg/deb/debian/rules index 7f35013..25af30a 100755 --- a/pkg/deb/debian/rules +++ b/pkg/deb/debian/rules @@ -18,7 +18,7 @@ override_dh_install: # completion files install -D -m644 "target/surface.bash" "${pkgdir}/usr/share/bash-completion/completions/surface" install -D -m644 "target/_surface" "${pkgdir}/usr/share/zsh/vendor-completions/_surface" - install -D -m644 "target/surface.fish" "${pkgdir}/usr/share/fish/completions/surface.fish" + install -D -m644 "target/surface.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/surface.fish" %: dh $@ diff --git a/pkg/fedora/surface-control.spec b/pkg/fedora/surface-control.spec index 220bc76..519635e 100644 --- a/pkg/fedora/surface-control.spec +++ b/pkg/fedora/surface-control.spec @@ -32,7 +32,7 @@ rm -rf %{buildroot} install -D -m755 "surface-control/target/release/surface" "%{buildroot}/usr/bin/surface" install -D -m644 "surface-control/target/surface.bash" "%{buildroot}/usr/share/bash-completion/completions/surface" install -D -m644 "surface-control/target/_surface" "%{buildroot}/usr/share/zsh/site-functions/_surface" -install -D -m644 "surface-control/target/surface.fish" "%{buildroot}/usr/share/fish/completions/surface.fish" +install -D -m644 "surface-control/target/surface.fish" "%{buildroot}/usr/share/fish/vendor_completions.d/surface.fish" %pre %sysusers_create_package %{name} "surface-control/etc/sysusers/surface-control.conf"