From: Mike Gilbert Date: Sat, 4 Jun 2016 19:12:32 +0000 (-0400) Subject: sys-fs/dosfstools: always install fsck.vfat and mkfs.vfat X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bf5e3c4ff8f2e489197c03d0f57e3003489bad18;p=gentoo.git sys-fs/dosfstools: always install fsck.vfat and mkfs.vfat Bug: https://bugs.gentoo.org/584980 --- diff --git a/sys-fs/dosfstools/dosfstools-4.0.ebuild b/sys-fs/dosfstools/dosfstools-4.0-r1.ebuild similarity index 83% rename from sys-fs/dosfstools/dosfstools-4.0.ebuild rename to sys-fs/dosfstools/dosfstools-4.0-r1.ebuild index 660994e53bc2..fce6ebff1b3b 100644 --- a/sys-fs/dosfstools/dosfstools-4.0.ebuild +++ b/sys-fs/dosfstools/dosfstools-4.0-r1.ebuild @@ -37,3 +37,12 @@ src_configure() { $(use_enable compat compat-symlinks) \ $(use_with udev) } + +src_install() { + default + if ! use compat; then + # Keep fsck -t vfat and mkfs -t vfat working, bug 584980. + dosym fsck.fat /usr/sbin/fsck.vfat + dosym mkfs.fat /usr/sbin/mkfs.vfat + fi +}