app-backup/btrfs-backup: fix bash completion

Use newbashcomp to avoid .bash suffix.

Closes: https://bugs.gentoo.org/974559
Signed-off-by: Daniel Müller <deso@posteo.net>
This commit is contained in:
Daniel Müller
2026-05-14 09:01:29 -07:00
parent c6b795c2c9
commit 8809539a4d

View File

@@ -122,7 +122,7 @@ src_install() {
cargo_src_install --bin="${PN}"
"$(cargo_target_dir)"/bin/shell-complete bash > "${PN}.bash" || die
dobashcomp "${PN}.bash"
newbashcomp "${PN}.bash" "${PN}"
"$(cargo_target_dir)"/bin/shell-complete fish >> "${PN}.fish" || die
dofishcomp "${PN}.fish"