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 committed 2026-05-14 09:02:37 -07:00
1 parent c6b795c2c9
commit 8809539a4d
1 file changed
+1 -1
@@ -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"