Skip to content

Commit

Permalink
pkg: Fix paths for fish shell completions
Browse files Browse the repository at this point in the history
  • Loading branch information
qzed committed Mar 14, 2024
1 parent fb6a5ca commit 19e5763
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ override_dh_install:
install -D -m644 "target/_surface-dtx-daemon" "${pkgdir}/usr/share/zsh/vendor-completions/_surface-dtx-daemon"
install -D -m644 "target/_surface-dtx-userd" "${pkgdir}/usr/share/zsh/vendor-completions/_surface-dtx-userd"

install -D -m644 "target/surface-dtx-daemon.fish" "${pkgdir}/usr/share/fish/completions/surface-dtx-daemon.fish"
install -D -m644 "target/surface-dtx-userd.fish" "${pkgdir}/usr/share/fish/completions/surface-dtx-userd.fish"
install -D -m644 "target/surface-dtx-daemon.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/surface-dtx-daemon.fish"
install -D -m644 "target/surface-dtx-userd.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/surface-dtx-userd.fish"

%:
dh $@
8 changes: 4 additions & 4 deletions pkg/fedora/surface-dtx-daemon.spec
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ install -D -m644 "target/surface-dtx-daemon.bash" "%{buildroot}/usr/share/bash-c
install -D -m644 "target/surface-dtx-userd.bash" "%{buildroot}/usr/share/bash-completion/completions/surface-dtx-userd"
install -D -m644 "target/_surface-dtx-daemon" "%{buildroot}/usr/share/zsh/site-functions/_surface-dtx-daemon"
install -D -m644 "target/_surface-dtx-userd" "%{buildroot}/usr/share/zsh/site-functions/_surface-dtx-userd"
install -D -m644 "target/surface-dtx-daemon.fish" "%{buildroot}/usr/share/fish/completions/surface-dtx-daemon.fish"
install -D -m644 "target/surface-dtx-userd.fish" "%{buildroot}/usr/share/fish/completions/surface-dtx-userd.fish"
install -D -m644 "target/surface-dtx-daemon.fish" "%{buildroot}/usr/share/fish/vendor_completions.d/surface-dtx-daemon.fish"
install -D -m644 "target/surface-dtx-userd.fish" "%{buildroot}/usr/share/fish/vendor_completions.d/surface-dtx-userd.fish"

%files
%license surface-dtx-daemon/LICENSE
Expand All @@ -67,8 +67,8 @@ install -D -m644 "target/surface-dtx-userd.fish" "%{buildroot}/usr/share/fish/co
/usr/share/bash-completion/completions/surface-dtx-userd
/usr/share/zsh/site-functions/_surface-dtx-daemon
/usr/share/zsh/site-functions/_surface-dtx-userd
/usr/share/fish/completions/surface-dtx-daemon.fish
/usr/share/fish/completions/surface-dtx-userd.fish
/usr/share/fish/vendor_completions.d/surface-dtx-daemon.fish
/usr/share/fish/vendor_completions.d/surface-dtx-userd.fish

%changelog
* Thu Mar 14 2024 Maximilian Luz <[email protected]> - 0.3.7-1
Expand Down

0 comments on commit 19e5763

Please sign in to comment.