commit:     9a0d501eb6cacc71a110630e4d4d7e5287be4af0
Author:     Colin Gillespie <colin <AT> breavyn <DOT> com>
AuthorDate: Tue Sep 26 23:21:29 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 02:55:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a0d501e

sys-fs/bcachefs-tools: convert helper scripts to symlinks

Separate helper scripts have been removed and should now be symlinks to
the bcachefs binary.

Signed-off-by: Colin Gillespie <colin <AT> breavyn.com>
Closes: https://github.com/gentoo/gentoo/pull/33081
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild 
b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
index 6724c112aeb5..e1718c453ab4 100644
--- a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
+++ b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
@@ -141,12 +141,16 @@ src_test() {
 
 src_install() {
        into /
-       dosbin bcachefs fsck.bcachefs mkfs.bcachefs mount.bcachefs
+       dosbin bcachefs
+
+       dosym bcachefs /sbin/fsck.bcachefs
+       dosym bcachefs /sbin/mkfs.bcachefs
+       dosym bcachefs /sbin/mount.bcachefs
 
        if use fuse; then
-               dosbin mount.fuse.bcachefs
-               newsbin fsck.bcachefs fsck.fuse.bcachefs
-               newsbin mkfs.bcachefs mkfs.fuse.bcachefs
+               dosym bcachefs /sbin/fsck.fuse.bcachefs
+               dosym bcachefs /sbin/mkfs.fuse.bcachefs
+               dosym bcachefs /sbin/mount.fuse.bcachefs
        fi
 
        doman bcachefs.8

Reply via email to